Preparing search index...
The search index is not available
elixr
elixr
XRGameSystem
Class XRGameSystem
A game system that only updates when the app is in immersive mode.
Hierarchy
GameSystem
XRGameSystem
Index
Constructors
constructor
Accessors
asset
Manager
audio
Manager
camera
globals
just
EnteredXR
just
ExitedXR
physics
player
renderer
scene
Methods
create
Game
Object
create
Rigidbody
Constructors
constructor
new XRGame
System
(
world
:
World
, queryManager
:
QueryManager
, priority
?:
number
)
:
XRGameSystem
Parameters
world:
World
queryManager:
QueryManager
Optional
priority:
number
Returns
XRGameSystem
Accessors
asset
Manager
get
assetManager
(
)
:
AssetManager
Returns
AssetManager
audio
Manager
get
audioManager
(
)
:
AudioManager
Returns
AudioManager
camera
get
camera
(
)
:
Camera
Returns
Camera
globals
get
globals
(
)
:
Map
<
string
,
any
>
Returns
Map
<
string
,
any
>
just
EnteredXR
get
justEnteredXR
(
)
:
boolean
Returns
boolean
just
ExitedXR
get
justExitedXR
(
)
:
boolean
Returns
boolean
physics
get
physics
(
)
:
Physics
Returns
Physics
player
get
player
(
)
:
Player
Returns
Player
renderer
get
renderer
(
)
:
WebGLRenderer
Returns
WebGLRenderer
scene
get
scene
(
)
:
Scene
Returns
Scene
Methods
create
Game
Object
create
Game
Object
(
parent
?:
Object3D
<
Object3DEventMap
>
)
:
GameObject
<
Object3DEventMap
>
Parameters
Optional
parent:
Object3D
<
Object3DEventMap
>
Returns
GameObject
<
Object3DEventMap
>
create
Rigidbody
create
Rigidbody
(
options
:
RigidbodyOptions
, parent
?:
Object3D
<
Object3DEventMap
>
)
:
Rigidbody
Parameters
options:
RigidbodyOptions
Optional
parent:
Object3D
<
Object3DEventMap
>
Returns
Rigidbody
GitHub
NPM
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Modules
elixr
XRGame
System
constructor
asset
Manager
audio
Manager
camera
globals
just
EnteredXR
just
ExitedXR
physics
player
renderer
scene
create
Game
Object
create
Rigidbody
A game system that only updates when the app is in immersive mode.