API reference

ControllerPointerPose Class

Extends MonoBehaviour
Implements IActiveState
The origin of the ray used by controller ray interactors.

Protected Fields

_started : bool
Signature
bool _started

Properties

Active : bool
[Get]
Evaluates the current state of the component and returns whether it is active.
The logic for determining the active state is defined by the implementing class. This method is typically used in interaction scripts to check whether a certain condition is met before triggering an event or action. For example implementations, please refer to HandActiveState.Active and ActiveStateGroup.Active.
Signature
bool Active
Controller : IController
[Get]
Signature
IController Controller

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void

Methods

InjectAllHandPointerPose ( controller , offset )
Signature
void InjectAllHandPointerPose(IController controller, Vector3 offset)
Parameters
controller: IController
offset: Vector3
Returns
void
InjectController ( controller )
Signature
void InjectController(IController controller)
Parameters
controller: IController
Returns
void
InjectOffset ( offset )
Signature
void InjectOffset(Vector3 offset)
Parameters
offset: Vector3
Returns
void