Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
GridChild Class Reference
Inheritance diagram for GridChild:

## Public Member Functions
| __init__ (self)
| delete (self)
| enableGridInterest (self, enabled=True)
| getGrid (self)
| getGridInterestIds (self)
| getGridInterestZoneId (self, gridDoId)
| getGridZone (self)
| isOnAGrid (self)
| setGridCell (self, grid, zoneId)
| updateGridInterest (self, grid, zoneId)

## Public Attributes
| doId

## Protected Attributes
bool | _gridInterestEnabled = False
dict | _gridInterests = {}
| _gridParent = None

## Detailed Description

    Any object that expects to be parented to a grid should inherit from this.
    It works with GridParent to manage its grid cell hierarchy in the scenegraph.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## Member Function Documentation

## ◆ delete()

delete | ( |  | self | ) |

## ◆ enableGridInterest()

enableGridInterest | ( |  | self,
|  |  | enabled = True )

## ◆ getGrid()

getGrid | ( |  | self | ) |

## ◆ getGridInterestIds()

getGridInterestIds | ( |  | self | ) |

## ◆ getGridInterestZoneId()

getGridInterestZoneId | ( |  | self,
|  |  | gridDoId )

## ◆ getGridZone()

getGridZone | ( |  | self | ) |

## ◆ isOnAGrid()

isOnAGrid | ( |  | self | ) |

## ◆ setGridCell()

setGridCell | ( |  | self,
|  |  | grid,
|  |  | zoneId )

Reimplemented in SmoothGridChild.

## ◆ updateGridInterest()

updateGridInterest | ( |  | self,
|  |  | grid,
|  |  | zoneId )

## Member Data Documentation

## ◆ _gridInterestEnabled

bool _gridInterestEnabled = False
| protected

## ◆ _gridInterests

dict _gridInterests = {}
| protected

## ◆ _gridParent

_gridParent = None
| protected

## ◆ doId

doId