Selva Compute API Reference - v1.1.2
Preparing search index...
visualization
<internal>
WebXRController
Class WebXRController
Index
Constructors
constructor
Methods
connect
disconnect
dispatch
Event
get
Grip
Space
get
Hand
Space
get
Target
Ray
Space
update
Constructors
constructor
new
WebXRController
()
:
WebXRController
Returns
WebXRController
Methods
connect
connect
(
inputSource
:
XRInputSource
)
:
this
Parameters
inputSource
:
XRInputSource
Returns
this
disconnect
disconnect
(
inputSource
:
XRInputSource
)
:
this
Parameters
inputSource
:
XRInputSource
Returns
this
dispatch
Event
dispatchEvent
(
event
:
{
data
?:
XRInputSource
;
type
:
XRControllerEventType
}
,
)
:
this
Parameters
event
:
{
data
?:
XRInputSource
;
type
:
XRControllerEventType
}
Returns
this
get
Grip
Space
getGripSpace
()
:
XRGripSpace
Returns
XRGripSpace
get
Hand
Space
getHandSpace
()
:
XRHandSpace
Returns
XRHandSpace
get
Target
Ray
Space
getTargetRaySpace
()
:
XRTargetRaySpace
Returns
XRTargetRaySpace
update
update
(
inputSource
:
XRInputSource
,
frame
:
XRFrame
,
referenceSpace
:
XRReferenceSpace
,
)
:
this
Parameters
inputSource
:
XRInputSource
frame
:
XRFrame
referenceSpace
:
XRReferenceSpace
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
connect
disconnect
dispatch
Event
get
Grip
Space
get
Hand
Space
get
Target
Ray
Space
update
Selva Compute API Reference - v1.1.2
Loading...