|
Panda3D
|
Public Member Functions | |
| __init__ (self, l, r, b, t) | |
| clearBitmasks (self, bitmasks) | |
| hasOverlap (self, bitmasks) | |
| intersects (self, other) | |
| setBitmasks (self, bitmasks) | |
Public Attributes | |
| tuple | area = (r - l) * (t - b) |
| int | overflowed = 0 |
| tuple | p = (l, r, b, t) |
| bool | rotated = False |
| __init__ | ( | self, | |
| l, | |||
| r, | |||
| b, | |||
| t ) |
| clearBitmasks | ( | self, | |
| bitmasks ) |
Clears all of the appropriate bits to indicate this region is available.
| hasOverlap | ( | self, | |
| bitmasks ) |
Returns true if there is an overlap with this region and any other region, false otherwise.
| intersects | ( | self, | |
| other ) |
Returns True if the placements intersect, False otherwise.
| setBitmasks | ( | self, | |
| bitmasks ) |
Sets all of the appropriate bits to indicate this region is taken.
| tuple area = (r - l) * (t - b) |
| int overflowed = 0 |
| tuple p = (l, r, b, t) |
| bool rotated = False |