Expand description
Interactor related structs, enums and functions.
Structs§
- Interaction
- Controls for the interaction system, and the interactors that StereoKit provides by default. https://stereokit.net/Pages/StereoKit/Interaction.html
- Interactor
- Interactors are essentially capsules that allow interaction with StereoKit’s interaction primitives used by the UI system. While StereoKit does provide a number of interactors by default, you can replace StereoKit’s defaults, add additional interactors, or generally just customize your interactions! https://stereokit.net/Pages/StereoKit/Interactor.html
- Interactor
Event - A bit-flag mask for interaction event types. This allows or informs what type of events an interactor can perform, or an element can respond to. https://stereokit.net/Pages/StereoKit/InteractorEvent.html
Enums§
- Default
Interactors - Options for what type of interactors StereoKit provides by default. https://stereokit.net/Pages/StereoKit/DefaultInteractors.html
- Interactor
Activation - TODO: is this redundant with interactor_type_? This describes how an interactor activates elements. Does it use the physical position of the interactor, or the activation state? https://stereokit.net/Pages/StereoKit/InteractorActivation.html
- Interactor
Type - Should this interactor behave like a single point in space interacting with elements? Or should it behave more like an intangible line? Hit detection is still capsule shaped, but behavior may change a little to reflect the primary position of the point interactor. This can also be thought of as direct interaction vs indirect interaction. https://stereokit.net/Pages/StereoKit/InteractorType.html
Functions§
- interaction_
get_ ⚠default_ draw - interaction_
get_ ⚠default_ interactors - interaction_
set_ ⚠default_ draw - interaction_
set_ ⚠default_ interactors - interactor_
count ⚠ - interactor_
create ⚠ - interactor_
destroy ⚠ - interactor_
get ⚠ - interactor_
get_ ⚠active - interactor_
get_ ⚠capsule_ end - interactor_
get_ ⚠capsule_ start - interactor_
get_ ⚠focus_ bounds - interactor_
get_ ⚠focused - interactor_
get_ ⚠min_ distance - interactor_
get_ ⚠motion - interactor_
get_ ⚠radius - interactor_
get_ ⚠tracked - interactor_
set_ ⚠min_ distance - interactor_
set_ ⚠radius - interactor_
update ⚠