Constructor
new SinglePlanarProcess(gameObject3D, frame3DPlanar, assetManageropt, inputManageropt, options)
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gameObject3D | Object3D | root game object3D of your game | |||||||||||||||||
frame3DPlanar | Planar | frame3DPlanar where the game is taking place | |||||||||||||||||
assetManager | AssetManager | <optional> | assetManager of the game | ||||||||||||||||
inputManager | InputManager | <optional> | input manager of the game | ||||||||||||||||
options | object | single player game planar options Properties
|
- Source
Classes
Members
assetManager :AssetManager
asset manager
Type:
- Source
externalGameContext :ExternalContext
render audio external script context
Type:
- ExternalContext
- Source
frame3DPlanar :Planar
game view
Type:
- Planar
- Source
gameContext :Context
game script + collision context
Type:
- Source
inputManager :InputManager
input manager
Type:
- Source
interpolator :StateInterpolator
interpolator to smooth comminucation between the two process
Type:
- StateInterpolator
- Source
process :RequestAnimationFrameProcess
Type:
- RequestAnimationFrameProcess
- Source
Methods
start() → {Promise}
- Source
Returns:
- promise resolving when game has started
- Type:
- Promise