pub trait XRRigidTransformMethods<D: DomTypes> {
    // Required methods
    fn Position(&self, _can_gc: CanGc) -> Root<Dom<DOMPointReadOnly>>;
    fn Orientation(&self, _can_gc: CanGc) -> Root<Dom<DOMPointReadOnly>>;
    fn Matrix(&self, cx: SafeJSContext) -> Float32Array;
    fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<XRRigidTransform>>;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        position: &DOMPointInit,
        orientation: &DOMPointInit,
    ) -> Result<Root<Dom<XRRigidTransform>>, Error>;
}

Required Methods§

source

fn Position(&self, _can_gc: CanGc) -> Root<Dom<DOMPointReadOnly>>

source

fn Orientation(&self, _can_gc: CanGc) -> Root<Dom<DOMPointReadOnly>>

source

fn Matrix(&self, cx: SafeJSContext) -> Float32Array

source

fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<XRRigidTransform>>

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, position: &DOMPointInit, orientation: &DOMPointInit, ) -> Result<Root<Dom<XRRigidTransform>>, Error>

Object Safety§

This trait is not object safe.

Implementors§