WorldLevelObject
Defined in: client/api.d.ts:1904
An object the level placed, as a level edit keys it, and the pose the level gave it. Every field a LevelEditDefinition needs to find it again.
Properties
Section titled “Properties”at:
Vector3
Defined in: client/api.d.ts:1928
Where the level put it: its pivot, not the point the ray met. Unchanged while an edit has moved it, since it is the key.
class:
string|undefined
Defined in: client/api.d.ts:1923
An entity’s engine class; absent for a brush.
guid:
string|undefined
Defined in: client/api.d.ts:1918
An entity’s level GUID as sixteen lowercase hex digits; absent for a brush.
kind:
"entity"|"brush"
Defined in: client/api.d.ts:1908
A brush is a static mesh or a vegetation instance – a wall, a rock, a tree – found by its mesh and where the level put it. An entity is found by its GUID.
name:
string
Defined in: client/api.d.ts:1913
A brush’s mesh path, the same as the hit’s model; an entity’s name.
rotation
Section titled “rotation”rotation:
Quaternion
Defined in: client/api.d.ts:1933
How the level turned it, for a prop or effect standing in its place. LevelEdit.apply reads a rotation only with a position, so spreading this into a definition moves nothing.
scale:
Vector3
Defined in: client/api.d.ts:1938
How the level sized it, per axis. Read only with a position, as rotation is.