Panda3D
Public Member Functions | Static Public Attributes | List of all members
GridChild Class Reference
Inheritance diagram for GridChild:
SmoothGridChild

Public Member Functions

def __init__ (self)
 
def delete (self)
 
def enableGridInterest (self, enabled=True)
 
def getGrid (self)
 
def getGridInterestIds (self)
 
def getGridInterestZoneId (self, gridDoId)
 
def getGridZone (self)
 
def isOnAGrid (self)
 
def setGridCell (self, grid, zoneId)
 
def updateGridInterest (self, grid, zoneId)
 

Static Public Attributes

 dConfigParam
 
 types
 

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__()

def __init__ (   self)

Reimplemented in SmoothGridChild.

Member Function Documentation

◆ delete()

def delete (   self)

◆ enableGridInterest()

def enableGridInterest (   self,
  enabled = True 
)

◆ getGrid()

def getGrid (   self)

◆ getGridInterestIds()

def getGridInterestIds (   self)

◆ getGridInterestZoneId()

def getGridInterestZoneId (   self,
  gridDoId 
)

◆ getGridZone()

def getGridZone (   self)

◆ isOnAGrid()

def isOnAGrid (   self)

◆ setGridCell()

def setGridCell (   self,
  grid,
  zoneId 
)

Reimplemented in SmoothGridChild.

◆ updateGridInterest()

def updateGridInterest (   self,
  grid,
  zoneId 
)

Member Data Documentation

◆ dConfigParam

dConfigParam
static

◆ types

types
static