Members
(constant) DEFAULT_MATERIAL
Default material used by native objects
- Source
(constant) MOUSE_STATE_EVENTS
List of mouse event handle by MouseState
- Source
Type Definitions
AssetManagerConfig
Contains configs of assets.
Type:
Properties- object
Name | Type | Description |
---|---|---|
sounds | Object.<string, SoundsConfig> | |
renderData | Object.<string, RenderDataConfig> |
- Source
CommandCallback() → {Command}
- Source
Returns:
- Type:
- Command
EventCallback(event)
Parameters:
Name | Type | Description |
---|---|---|
event | Event | native event |
- Source
RenderDataConfig
Contains path, anchor, scale and rotation.
Type:
Properties- object
Name | Type | Description |
---|---|---|
anchor | string | Values: center | max | min | center_min |
scale | Object | Object's local scale |
rotation | Object | Object's local rotation |
path | string | Path to the 3D data file |
- Source
SoundsConfig
Contains path
Type:
Properties- object
Name | Type | Description |
---|---|---|
path | string | Path to the audio file |
- Source
cbSocketIO(…args)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args | * | <repeatable> | Args |
- Source