Properties:
Name | Type | Description |
---|---|---|
_roundPixels |
0 | 1 |
this is an int because it is packed directly into an attribute in the shader |
batched |
boolean |
whether or not this view should be batched |
bounds |
BoundsData |
this is the AABB rectangle bounds of the view in local untransformed space. |
containsPoint |
(point: Point) => boolean |
Checks if the point is within the view |
renderPipeId |
string |
an identifier that is used to identify the type of system that will be used to render this renderable eg, 'sprite' will use the sprite system (based on the systems name |
uid |
number |
a unique id for this view |
_lastUsed |
number |
Members
this is an int because it is packed directly into an attribute in the shader
whether or not this view should be batched
bounds BoundsData
this is the AABB rectangle bounds of the view in local untransformed space.
containsPoint (point: Point) => boolean
Checks if the point is within the view
an identifier that is used to identify the type of system that will be used to render this renderable eg, 'sprite' will use the sprite system (based on the systems name
a unique id for this view
Methods
Whether or not to round the x/y position of the object.
Returns:
Type | Description |
---|---|
boolean |
if true, the view will have its position rounded to the nearest whole number
Name | Type | Description |
---|---|---|
value |
boolean |