Component:DebugConeDistance

From Resonite Wiki
Component image 
Debug Cone Distance component as seen in the Scene Inspector

The DebugConeDistance component creates a Debug cone visual that draws lines from the list of Points to the surface of the cone. If the point is inside the cone, the point visual will be Cyan, if it is outside it will be red. The lines from the point to the cone are Yellow. When attached, the component will add 32 random points to Points that are 4 units away.

This game element is a debug item. Elements like this may be removed at any time without warning, and creations should not rely on it.

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.
Height Float The height of the cone.
Radius Float The radius of the cone base.
Points direct SyncFieldList`1<Float3> Points that the Debug visual will draw lines to from the cone surface to the point.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

See Also