Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
PandaNode::DownConnection Class Reference

## Public Member Functions
| DownConnection (PandaNode *child, int sort)
PandaNode * | get_child () const
int | get_sort () const
bool | operator< (const DownConnection &other) const
| Provides a partial ordering on the children of a node so that they are ranked first in sort order, and then (by virtue of the ordered_vector) in the order they were added.
void | set_child (PandaNode *child)
| This is only called by PandaNode::replace_child().

## Detailed Description

Definition at line 448 of file pandaNode.h.

## Constructor & Destructor Documentation

## ◆ DownConnection()

PandaNode::DownConnection::DownConnection | ( | PandaNode * | child,
|  | int | sort )
| inline

Definition at line 735 of file pandaNode.I.

## Member Function Documentation

## ◆ get_child()

PandaNode * PandaNode::DownConnection::get_child | ( |  | ) | const
| inline

Definition at line 755 of file pandaNode.I.

## ◆ get_sort()

int PandaNode::DownConnection::get_sort | ( |  | ) | const
| inline

Definition at line 771 of file pandaNode.I.

## ◆ operator<()

bool PandaNode::DownConnection::operator< | ( | const DownConnection & | other | ) | const
| inline

Provides a partial ordering on the children of a node so that they are ranked first in sort order, and then (by virtue of the ordered_vector) in the order they were added.

Definition at line 747 of file pandaNode.I.

## ◆ set_child()

void PandaNode::DownConnection::set_child | ( | PandaNode * | child | ) |
| inline

This is only called by PandaNode::replace_child().

Definition at line 763 of file pandaNode.I.

The documentation for this class was generated from the following files:

- panda/src/pgraph/pandaNode.h
- panda/src/pgraph/pandaNode.I