Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TexPlacement Class Reference

Public Member Functions

 __init__ (self, l, r, b, t)
 
 clearBitmasks (self, bitmasks)
 
 hasOverlap (self, bitmasks)
 
 intersects (self, other)
 
 setBitmasks (self, bitmasks)
 

Public Attributes

 area
 
 overflowed
 
 p
 
 rotated
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
l,
r,
b,
t )

Member Function Documentation

◆ clearBitmasks()

clearBitmasks ( self,
bitmasks )
 Clears all of the appropriate bits to indicate this region
is available. 

◆ hasOverlap()

hasOverlap ( self,
bitmasks )
 Returns true if there is an overlap with this region and
any other region, false otherwise. 

◆ intersects()

intersects ( self,
other )
 Returns True if the placements intersect, False
otherwise. 

◆ setBitmasks()

setBitmasks ( self,
bitmasks )
 Sets all of the appropriate bits to indicate this region
is taken. 

Member Data Documentation

◆ area

area

◆ overflowed

overflowed

◆ p

p

◆ rotated

rotated