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

GearVR 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

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

Whether the controller model is loaded.

Default : true

Buttons colors

buttonColor : Color -> AFrame.Properties.Property

Button colors when not pressed.

Default : #000000

buttonTouchedColor : Color -> AFrame.Properties.Property

Button colors when touched.

Default : #777777

buttonHighlightColor : Color -> AFrame.Properties.Property

Button colors when pressed and active.

Default : #FFFFFF

Orientation

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

Offset to apply to model orientation.

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