Class XRController

This class extends THREE.Object3D

See

https://threejs.org/docs/#api/en/core/Object3D

Hierarchy

Constructors

Properties

isGameObject: boolean = true
isGroup: boolean = true

Accessors

Methods

  • Parameters

    • inputSource: XRInputSource

    Returns void

  • Get an object containing all the GameComponent on this entity, where the object keys are the component types.

    Returns {
        [componentName: string]: Component<any>;
    }

    • [componentName: string]: Component<any>
  • Get an object containing all the GameComponent that are slated to be removed from this entity, where the object keys are the component types.

    Returns {
        [componentName: string]: Component<any>;
    }

    • [componentName: string]: Component<any>
  • Parameters

    • inputSource: XRInputSource
    • frame: XRFrame
    • referenceSpace: XRReferenceSpace

    Returns void

  • Parameters

    • Optional force: boolean

    Returns void