Members

(constant) DEFAULT_MATERIAL

Default material used by native objects

(constant) MOUSE_STATE_EVENTS

List of mouse event handle by MouseState

Type Definitions

AssetManagerConfig

Contains configs of assets.

Type:
  • object
Properties
NameTypeDescription
soundsObject.<string, SoundsConfig>

SoundsConfig

renderDataObject.<string, RenderDataConfig>

RenderDataConfig

CommandCallback() → {Command}

Returns:
Type: 
Command

EventCallback(event)

Parameters:
NameTypeDescription
eventEvent

native event

RenderDataConfig

Contains path, anchor, scale and rotation.

Type:
  • object
Properties
NameTypeDescription
anchorstring

Values: center | max | min | center_min

scaleObject

Object's local scale

rotationObject

Object's local rotation

pathstring

Path to the 3D data file

SoundsConfig

Contains path

Type:
  • object
Properties
NameTypeDescription
pathstring

Path to the audio file

cbSocketIO(…args)

Parameters:
NameTypeAttributesDescription
args*<repeatable>

Args