Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
TexPlacement Class Reference

Public Member Functions

def __init__
 
def clearBitmasks
 
def hasOverlap
 
def intersects
 
def setBitmasks
 

Public Attributes

 area
 
 overflowed
 
 p
 
 rotated
 

Constructor & Destructor Documentation

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

Member Function Documentation

def clearBitmasks (   self,
  bitmasks 
)
Clears all of the appropriate bits to indicate this region
is available. 
def hasOverlap (   self,
  bitmasks 
)
Returns true if there is an overlap with this region and
any other region, false otherwise. 
def intersects (   self,
  other 
)
Returns True if the placements intersect, False
otherwise. 
def setBitmasks (   self,
  bitmasks 
)
Sets all of the appropriate bits to indicate this region
is taken. 

Member Data Documentation

area
overflowed
p
rotated