Members
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
-
It is updated to _boundsID of corresponding object to keep bounds in sync with content. Updated from outside, thus public modifier.
Methods
-
Adds other Bounds.
Name Type Description boundsPIXI.Bounds The Bounds to be added
-
Adds other Bounds, masked with Rectangle.
Name Type Description boundsPIXI.Bounds TODO
areaPIXI.Rectangle TODO
-
Adds other Bounds, masked with Bounds.
Name Type Description boundsPIXI.Bounds The Bounds to be added.
maskPIXI.Bounds TODO
-
Adds other Bounds, multiplied by matrix. Bounds shouldn't be empty.
Name Type Description boundsPIXI.Bounds other bounds
matrixPIXI.Matrix multiplicator
-
Adds sprite frame, transformed.
Name Type Description transformPIXI.Transform transform to apply
x0number left X of frame
y0number top Y of frame
x1number right X of frame
y1number bottom Y of frame
-
Adds sprite frame, multiplied by matrix
Name Type Description matrixPIXI.Matrix matrix to apply
x0number left X of frame
y0number top Y of frame
x1number right X of frame
y1number bottom Y of frame
-
Adds padded frame. (x0, y0) should be strictly less than (x1, y1)
Name Type Description x0number left X of frame
y0number top Y of frame
x1number right X of frame
y1number bottom Y of frame
padXnumber padding X
padYnumber padding Y
-
This function should be inlined when its possible.
Name Type Description pointPIXI.IPointData The point to add.
-
Adds a quad, not transformed
Name Type Description verticesFloat32Array The verts to add.
-
Adds screen vertices from array
Name Type Description vertexDataFloat32Array calculated vertices
beginOffsetnumber begin offset
endOffsetnumber end offset, excluded
-
Add an array of mesh vertices
Name Type Description transformPIXI.Transform mesh transform
verticesFloat32Array mesh coordinates in array
beginOffsetnumber begin offset
endOffsetnumber end offset, excluded
-
Add an array of mesh vertices.
Name Type Default Description matrixPIXI.Matrix mesh matrix
verticesFloat32Array mesh coordinates in array
beginOffsetnumber begin offset
endOffsetnumber end offset, excluded
padXnumber 0 optional x padding
padYnumber 0 optional y padding
-
Clears the bounds and resets.
-
getRectangle (rect)PIXI.Rectangle
-
Can return Rectangle.EMPTY constant, either construct new rectangle, either use your rectangle It is not guaranteed that it will return tempRect
Name Type Description rectPIXI.Rectangle temporary object will be used if AABB is not empty
Returns:
Type Description PIXI.Rectangle A rectangle of the bounds -
Checks if bounds are empty.
Returns:
Type Description boolean True if empty. -
Pads bounds object, making it grow in all directions. If paddingY is omitted, both paddingX and paddingY will be set to paddingX.
Name Type Default Description paddingXnumber 0 optional The horizontal padding amount.
paddingYnumber 0 optional The vertical padding amount.