Optional
_interactorIf disabled, the Component will stop enacting its behavior.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueGets whether the visual is active (can be shown if hand is in frame and we're in far field targeting mode).
Sets whether the visual can be shown, so developers can show/hide the ray in certain parts of their lens.
Gets the current visual style.
Sets how the visuals for the line drawer should be shown.
Adds a new SceneEvent, triggered by eventType
events, to the ScriptComponent.
Returns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Removes a previously added SceneEvent from the ScriptComponent.
Static
get
InteractorLineVisual uses a modified line renderer to display the ray interactor visual Uses interactor locus and direction