shamansir / elm-aframe / AFrame.Components.Controls.Tracked

Tracked Controls

Basic

hand : AFrame.Variants.Hand.Hand -> AFrame.Properties.Property

Set hand that will be tracked (i.e., right, left).

armModel : Basics.Bool -> AFrame.Properties.Property

Whether the arm model is used for positional data.

Default : true

headModel : String -> AFrame.Properties.Property

Head element for arm model if needed (if not active camera).

Default : None

autoHide : Basics.Bool -> AFrame.Properties.Property

Whether to toggle visibility automatically when controller is connected or disconnected.

Default : true

Controller

controller : Basics.Int -> AFrame.Properties.Property

Index of the controller in array returned by the Gamepad API.

Default : 0

id : String -> AFrame.Properties.Property

Selects the controller from the Gamepad API using exact match.

Default : None

idPrefix : String -> AFrame.Properties.Property

Selects the controller from the Gamepad API using prefix match.

Default : None

Orientation

orientationOffset : Basics.Float -> Basics.Float -> Basics.Float -> AFrame.Properties.Property

Offset to apply to model orientation.

Default: x: 0, y: 0, z: 0