pub trait FakeXRInputControllerMethods<D: DomTypes> {
Show 13 methods // Required methods fn SetHandedness(&self, handedness: XRHandedness); fn SetTargetRayMode(&self, targetRayMode: XRTargetRayMode); fn SetProfiles(&self, profiles: Vec<DOMString>); fn SetGripOrigin( &self, gripOrigin: &FakeXRRigidTransformInit, emulatedPosition: bool, ) -> Result<(), Error>; fn ClearGripOrigin(&self); fn SetPointerOrigin( &self, pointerOrigin: &FakeXRRigidTransformInit, emulatedPosition: bool, ) -> Result<(), Error>; fn Disconnect(&self); fn Reconnect(&self); fn StartSelection(&self); fn EndSelection(&self); fn SimulateSelect(&self); fn SetSupportedButtons(&self, supportedButtons: Vec<FakeXRButtonStateInit>); fn UpdateButtonState( &self, buttonState: &FakeXRButtonStateInit, ) -> Result<(), Error>;
}

Required Methods§

source

fn SetHandedness(&self, handedness: XRHandedness)

source

fn SetTargetRayMode(&self, targetRayMode: XRTargetRayMode)

source

fn SetProfiles(&self, profiles: Vec<DOMString>)

source

fn SetGripOrigin( &self, gripOrigin: &FakeXRRigidTransformInit, emulatedPosition: bool, ) -> Result<(), Error>

source

fn ClearGripOrigin(&self)

source

fn SetPointerOrigin( &self, pointerOrigin: &FakeXRRigidTransformInit, emulatedPosition: bool, ) -> Result<(), Error>

source

fn Disconnect(&self)

source

fn Reconnect(&self)

source

fn StartSelection(&self)

source

fn EndSelection(&self)

source

fn SimulateSelect(&self)

source

fn SetSupportedButtons(&self, supportedButtons: Vec<FakeXRButtonStateInit>)

source

fn UpdateButtonState( &self, buttonState: &FakeXRButtonStateInit, ) -> Result<(), Error>

Implementors§