BetaOptionalattachedThe 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.
This property can't be read in early-execution mode.
OptionalbackgroundThe color of the background plate of the text. If set to undefined, it will use the default color.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
If set to true, the text will be hidden behind blocks or entities. By default this is set to false (will always render).
This property can't be read in early-execution mode.
ReadonlydimensionThe dimension the shape is visible within. If the dimension is undefined, it will display in all dimensions.
This property can't be read in early-execution mode.
ReadonlyhasThis property can't be read in early-execution mode.
ReadonlylocationThis property can't be read in early-execution mode.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
ReadonlytextGet the text of the debug text shape. Returns the RawText of
the debug text if setText was called with a RawMessage or
a RawText object, otherwise returns a string.
This property can't be read in early-execution mode.
OptionaltimeThe time left (in seconds) until this shape is automatically removed. Returns undefined if the shape does not have a limited life-span.
This property can't be read in early-execution mode.
Optional ReadonlytotalThe total initial time-span (in seconds) until this shape is automatically removed. Returns undefined if the shape does not have a limited life-span.
This property can't be read in early-execution mode.
If set to true, the text will not face the camera and instead will use the rotation from the shape.
This property can't be read in early-execution mode.
The list of players that this shape will be visible to. If left empty, the shape will be visible to all players.
This property can't be read in early-execution mode.
Removes this shape from the world. The shape can be re-added via the PrimitiveShapesManager's addText method.
This function can't be called in early-execution mode.
Set the location and dimension of the shape. If the dimension is undefined, it will display in all dimensions.
This function can't be called in early-execution mode.
This function can't be called in early-execution mode.
A primitive shape class that represents a text label in the world with a background.