- Source:
- See:
-
- DrawObjectFactory should be created with factory method
Extends
Members
bgColor :string
Background color as rgba(r,g,b,a).
- Overrides:
- Source:
vertices :Array.<Array.<number>>
- Source:
x :number
- Overrides:
- Source:
y :number
- Overrides:
- Source:
Methods
destroy()
Destroy object on next render iteration.
- Overrides:
- Source:
setMask(mask)
Parameters:
Name | Type | Description |
---|---|---|
mask |
DrawShapeObject |
- Overrides:
- Source:
turnOffOffset()
turn off offset for specific draw object
gameStageData.centerCameraPosition() will take no effect on such object
Can be used for something that should be always on screen: control buttons, overlay masks etc.
- Overrides:
- Source: