Interface IWebXRMotionControllerComponentChanges
interface IWebXRMotionControllerComponentChanges {
axes?: IWebXRMotionControllerComponentChangesValues<
IWebXRMotionControllerAxesValue,
>;
pressed?: IWebXRMotionControllerComponentChangesValues<boolean>;
touched?: IWebXRMotionControllerComponentChangesValues<boolean>;
value?: IWebXRMotionControllerComponentChangesValues<number>;
}
axes?: IWebXRMotionControllerComponentChangesValues<
IWebXRMotionControllerAxesValue,
>;
pressed?: IWebXRMotionControllerComponentChangesValues<boolean>;
touched?: IWebXRMotionControllerComponentChangesValues<boolean>;
value?: IWebXRMotionControllerComponentChangesValues<number>;
}
Properties
Optionalaxes
will be populated with previous and current values if axes changed
Optionalpressed
will be populated with previous and current values if pressed changed
Optionaltouched
will be populated with previous and current values if touched changed
Optionalvalue
will be populated with previous and current values if value changed
Represents changes in the component between current frame and last values recorded