Beta
The base class for a text primitive. Represents an object in the world and its base properties.
Optional
The entity this shape is attached to. When set, this shape will copy the root location of the attached entity and the shape's position will be used as an offset.
The color of the shape.
Readonly
The dimension the shape is visible within. If the dimension is undefined, it will display in all dimensions.
Returns true if the shape has a limited time span before being removed.
The location of the shape.
The rotation of the shape (Euler angles - [Pitch, Yaw, Roll]).
The scale of the shape.
The time left (in seconds) until this shape is automatically removed. Returns undefined if the shape does not have a limited life-span.
The total initial time-span (in seconds) until this shape is automatically removed. Returns undefined if the shape does not have a limited life-span.
The list of players that this shape will be visible to. If left empty, the shape will be visible to all players.
Removes this shape from the world. The shape can be re-added via the PrimitiveShapesManager's addText method.
Set the location and dimension of the shape. If the dimension is undefined, it will display in all dimensions.
The base class for a text primitive. Represents an object in the world and its base properties.