Component:DebugBoxDistance: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Debug Box Distance
|Name=Debug Box Distance
}}
}}
The '''Debug Box Distance''' component
The '''Debug Box Distance''' component allows for debugging the distance from a box object, and generates 32 random points on attach to do so.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Size|Float3|
|Size|Float3| The size of the box to debug
|Points|{{RootFieldType|SyncFieldList`1|[[Type:Float3|Float3]]}}|TypeAdv1=true|
|Points|{{RootFieldType|SyncFieldList`1|[[Type:Float3|Float3]]}}|TypeAdv1=true| The points to use to visualize the distances from the box.
}}
}}


Line 20: Line 19:
[[Category:Components:Debug{{#translation:}}|Debug Box Distance]]
[[Category:Components:Debug{{#translation:}}|Debug Box Distance]]
[[Category:Components{{#translation:}}|Debug Box Distance]]
[[Category:Components{{#translation:}}|Debug Box Distance]]
[[Category:ComponentStubs]]

Latest revision as of 05:32, 9 May 2025

Component image 
File:DebugBoxDistanceComponent.png
Debug Box Distance component as seen in the Scene Inspector

The Debug Box Distance component allows for debugging the distance from a box object, and generates 32 random points on attach to do so.

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.
Size Float3 The size of the box to debug
Points direct SyncFieldList`1<Float3> The points to use to visualize the distances from the box.

Usage

Examples

See Also