Component:DebugVector: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Debug Vector
|Name=Debug Vector
}}
}}
{{stub}}
The '''DebugVector''' component shows a vector using a thin line.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|PositionOffset|Float3|
|PositionOffset|Float3| the position offset for the entire Debug visual.
|RotationOffset|FloatQ|
|RotationOffset|FloatQ| The rotation Offset for the entire Debug visual.
|Vector|Float3|
|Vector|Float3| the vector to debug.
|Color|ColorX|
|Color|ColorX| The color of the debug vector line.
|UseGlobalSpace|Bool|
|UseGlobalSpace|Bool| Whether the vector is in global space or not.
}}
}}
== Behavior ==
== Examples ==


== See Also ==
== See Also ==
Line 22: Line 18:
[[Category:Components:Debug{{#translation:}}|Debug Vector]]
[[Category:Components:Debug{{#translation:}}|Debug Vector]]
[[Category:Components{{#translation:}}|Debug Vector]]
[[Category:Components{{#translation:}}|Debug Vector]]
[[Category:ComponentStubs]]

Revision as of 20:19, 15 January 2025

Component image 
Debug Vector component as seen in the Scene Inspector

The DebugVector component shows a vector using a thin line.

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.
PositionOffset Float3 the position offset for the entire Debug visual.
RotationOffset FloatQ The rotation Offset for the entire Debug visual.
Vector Float3 the vector to debug.
Color ColorX The color of the debug vector line.
UseGlobalSpace Bool Whether the vector is in global space or not.

See Also