Optional_Reference to the Interactor component that this ray will visualize.
ReadonlyapiGeneric object accessible by other instances of ScriptComponent. Use this object to store references to properties and methods that need to be accessible from other ScriptComponents.
OptionalcursorA reference to the InteractorCursor that controls this ray's endpoint and opacity. This is typically set by the CursorController.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlysceneThe SceneObject this component is on.
ReadonlyuniqueReturns if the ray is in a triggered state.
Sets if the ray should reflect a triggered state.
Adds a new SceneEvent, triggered by eventType events, to the ScriptComponent.
Destroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
StaticgetReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Clean up.
Removes a previously added SceneEvent from the ScriptComponent.
Renders a 3D model to visualize an Interactor's ray, connecting the Interactor's origin to the target cursor position. Its length and opacity is driven by the state of a corresponding InteractorCursor.