Skip to main content

Orient store

Orient values

PropertydefaultDescription
activefalse

Orient events

Event nameArgumentDescription
onChangeElementCalled when the value is changed
onMountElementCalled when the component is mounted
onCleannullCalled when the component is removed

Orient state

export interface OrientState {
snapshot: [OrientState]
active: boolean
_active: boolean
_value: Vec3
value: Vec3
delta: Vec3
offset: Vec3
movement: Vec3
memo: any
callback(): void
onChange(): void
onMount(): void
onClean(): void
}