Module interactor

Module interactor 

Source
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
InteractorEvent
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§

DefaultInteractors
Options for what type of interactors StereoKit provides by default. https://stereokit.net/Pages/StereoKit/DefaultInteractors.html
InteractorActivation
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
InteractorType
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