Panda3D

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

## Public Member Functions
| __init__ (self)
| setGridCell (self, grid, zoneId)
| transformTelemetry (self, x, y, z, h, p, r, e)
Public Member Functions inherited from GridChild
| __init__ (self)
| delete (self)
| enableGridInterest (self, enabled=True)
| getGrid (self)
| getGridInterestIds (self)
| getGridInterestZoneId (self, gridDoId)
| getGridZone (self)
| isOnAGrid (self)
| updateGridInterest (self, grid, zoneId)

## Additional Inherited Members
Public Attributes inherited from GridChild
| doId
Protected Attributes inherited from GridChild
bool | _gridInterestEnabled = False
dict | _gridInterests = {}
| _gridParent = None

## Detailed Description

    SmoothNodes have a special requirement in that they need to send
    their current cell along with their telemetry data stream. This
    allows the distributed receiving objects to update their grid parent
    according to this value, rather than the setLocation() data.

    Use this instead of GridNode when you expect this object to send its
    telemetry data out.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## Member Function Documentation

## ◆ setGridCell()

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

Reimplemented from GridChild.

## ◆ transformTelemetry()

transformTelemetry | ( |  | self,
|  |  | x,
|  |  | y,
|  |  | z,
|  |  | h,
|  |  | p,
|  |  | r,
|  |  | e )