| InteractorActivation Activation |
How does this interactor activate elements? Does it use the physical position of the interactor, or its activation state? This is set at creation time and does not change. |
| IdHash Active |
The id of the interaction element that is currently active, this will be IdHash.None if this interactor has nothing active. This will always be the same id as Focused when not None. |
| Vec3 End |
The world space end of the interactor capsule. Some interactions can be directional, especially for Line type interactors, so if you think of the interactor as an “oriented” capsule, this would be the end which the Start/origin points towards. |
| InteractorEvent Events |
What type of interaction events does this interactor fire? Interaction elements use this bitflag as a filter to avoid interacting with certain interactors. This is set at creation time and does not change. |
| IdHash Focused |
The id of the interaction element that is currently focused, this will be IdHash.None if this interactor has nothing focused. |
| float MinDistance |
The distance at which a ray starts being interactive. For pointing rays, you may not want them to interact right at their start, or you may want the start to move depending on how outstretched the hand is! This allows you to change that start location without affecting the movement caused by the ray, and still capturing occlusion from blocking elements too close to the start. By default, this is a large negative value. |
| Pose Motion |
This pose is the source of translation and rotation motion caused by the interactor. In most cases it will be the same as your Start with the orientation of your interactor, but in some instance may be something else! |
| float Radius |
The world space radius of the interactor capsule, in meters. |
| int SecondaryDims |
How many axes of secondary motion can this interactor provide? Secondary motion is input that comes from somewhere other than the interactor’s own movement through space. For example, a mouse’s scroll wheel is 1 axis, and a controller’s analog thumbstick is 2 axes (X/Y). This should be 0-3. |
| InteractorSource Source |
The physical source this interactor’s input comes from, such as a specific hand, controller, or the mouse. Interactors that share a source will deactivate each other when one becomes active, for example the poke, pinch, and aim interactors of a single hand. InteractorSource.Unique indicates a source that never groups with other interactors. This is set at creation time and does not change. |
| Vec3 Start |
The world space start of the interactor capsule. Some interactions can be directional, especially for Line type interactors, so if you think of the interactor as an “oriented” capsule, this would be the origin which points towards the capsule End. |
| BtnState Tracked |
The tracking state of this interactor. |
| InteractorType Type |
A line, or a point? These interactors behave slightly differently with respect to distance checks and directionality. See InteractorType for more details. This is set at creation time and does not change. |