Members
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
Methods
-
Adds other Bounds
Name Type Description bounds
SINT.Bounds TODO
-
Adds other Bounds, masked with Rectangle
Name Type Description bounds
SINT.Bounds TODO
area
SINT.Rectangle TODO
-
Adds other Bounds, masked with Bounds
Name Type Description bounds
SINT.Bounds TODO
mask
SINT.Bounds TODO
-
Adds sprite frame, transformed.
Name Type Description transform
SINT.TransformBase TODO
x0
number TODO
y0
number TODO
x1
number TODO
y1
number TODO
-
This function should be inlined when its possible.
Name Type Description point
SINT.Point The point to add.
-
Adds a quad, not transformed
Name Type Description vertices
Float32Array The verts to add.
-
Add an array of vertices
Name Type Description transform
SINT.TransformBase TODO
vertices
Float32Array TODO
beginOffset
number TODO
endOffset
number TODO
-
Clears the bounds and resets.
-
getRectangle (rect)SINT.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 rect
SINT.Rectangle temporary object will be used if AABB is not empty
Returns:
Type Description SINT.Rectangle A rectangle of the bounds -
Checks if bounds are empty.
Returns:
Type Description boolean True if empty.