|
Panda3D
|
Public Member Functions | |
| __init__ (self, key, tex, size, active) | |
| clearCard (self, tmw) | |
| computePlacementSize (self, tmw) | |
| makeCard (self, tmw) | |
| setActive (self, flag) | |
| setSize (self, size) | |
Public Attributes | |
| active = active | |
| area = self.w * self.h | |
| backing = backing | |
| card = card | |
| frame = frame | |
| h = max(int(self.th / tmw.quantize + 0.5), 1) | |
| key = key | |
| matte = matte | |
| int | overflowed = 0 |
| list | placements = [] |
| list | regions = [] |
| root = None | |
| size = size | |
| tex = tex | |
| th = self.tw * r | |
| tw = math.sqrt(self.size) / math.sqrt(r) | |
| w = max(int(self.tw / tmw.quantize + 0.5), 1) | |
| __init__ | ( | self, | |
| key, | |||
| tex, | |||
| size, | |||
| active ) |
| clearCard | ( | self, | |
| tmw ) |
| computePlacementSize | ( | self, | |
| tmw ) |
| makeCard | ( | self, | |
| tmw ) |
| setActive | ( | self, | |
| flag ) |
| setSize | ( | self, | |
| size ) |
| active = active |
| area = self.w * self.h |
| backing = backing |
| card = card |
| frame = frame |
| h = max(int(self.th / tmw.quantize + 0.5), 1) |
| key = key |
| matte = matte |
| int overflowed = 0 |
| placements = [] |
| list regions = [] |
| root = None |
| size = size |
| tex = tex |
| th = self.tw * r |
| tw = math.sqrt(self.size) / math.sqrt(r) |
| w = max(int(self.tw / tmw.quantize + 0.5), 1) |