Component:LabelContentDriver

From Resonite Wiki
Component image 
File:LabelContentDriverComponent.png
Label Content Driver component as seen in the Scene Inspector

The LabelContentDriver Component is used to handle driving and updating the visual of labels placed by a Labeler Tool.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
AutoUpdate Bool Automatically update the visual per tick
Padding Float2 How much padding this label should have from the label's text content.
BaseWidth Float The width of the underline for the text attached to the label.
ContentOrientSpace direct RootSpace How to orient the text content of this label.
OrientAtLocalUser Bool Whether to look at the local user (usually true)
_contentRoot Slot The root of the text content for the label this is driving.
_targetPoint Slot The target point of the line coming from the underline for the label this is driving.
_contentRotation FloatQ The rotation of the content of the label this is driving.
_contentRotationDrive field drive of FloatQ The rotation field of the content.
_labelPosition field drive of Float3 The position field of the label.
_labelWidth field drive of Float The length field of the label underline.
_lineWidth field drive of Float The width field of the line for the label.
_labelRotation field drive of FloatQ The rotation field of the label.
_pointPosition field drive of Float3 The target point field for what the label is pointing to.

Usage

Not used directly by the user. Used in the Labeler Tool.

Examples

See Labeler Tool.

See Also