Class: DrawConusObject

DrawConusObject

Conus object to draw.
Source:
See:

Extends

Members

angle :number

Source:

bgColor :string

Background color as rgba(r,g,b,a).
Overrides:
Source:

fade_min :number

Source:

fade_min

Source:

radius :number

Source:

vertices :Array.<number>

Array of [x,y] cords.
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: