LevelEditDefinition
Defined in: server/api.d.ts:4279
Properties
Section titled “Properties”at:
number[] |Vector3
Defined in: server/api.d.ts:4303
Where the level put the object: its pivot, matched within 5 cm. A brush’s key, with its mesh.
class?
Section titled “class?”
optionalclass?:string
Defined in: server/api.d.ts:4298
An entity’s class, kept for reading only.
optionalguid?:string
Defined in: server/api.d.ts:4293
An entity’s level EntityGuid as sixteen hex digits; required for an entity.
hidden?
Section titled “hidden?”
optionalhidden?:boolean
Defined in: server/api.d.ts:4308
Whether it is taken out of the world: not drawn and not solid.
optionalkind?:"brush"|"entity"
Defined in: server/api.d.ts:4283
What the object is; a brush when omitted. A brush has no identity of its own, so it is found by its mesh and where the level put it; a level entity by its EntityGuid.
optionalname?:string
Defined in: server/api.d.ts:4288
A brush’s mesh path, objects/...cgf, as the World Builder shows it; required for a brush. An entity’s name, kept for reading only.
position?
Section titled “position?”
optionalposition?:number[] |Vector3
Defined in: server/api.d.ts:4313
Where it stands instead; present, the edit is a move.
rotation?
Section titled “rotation?”
optionalrotation?:number[] |Quaternion
Defined in: server/api.d.ts:4318
A move’s orientation: a Quaternion, {x, y, z, w} or [x, y, z, w]. None when omitted.
scale?
Section titled “scale?”
optionalscale?:number[] |Vector3
Defined in: server/api.d.ts:4323
A move’s scale per axis, from 0.01 to 100. None when omitted.