Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# SwitchNode Class Reference

A node that renders only one of its children, according to the user's indication. More...

Inheritance diagram for SwitchNode:

List of all members.

## Public Member Functions
| SwitchNode (string name)
int | getVisibleChild ()
| Returns the index of the child that should be visible.
| setVisibleChild (int index)
| Specifies the particular child of this node, by index, that will be visible.
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

A node that renders only one of its children, according to the user's indication.

## Constructor & Destructor Documentation

SwitchNode | ( | string | name | ) |

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from SelectiveChildNode.

int getVisibleChild | ( |  | ) |

Returns the index of the child that should be visible.

setVisibleChild | ( | int | index | ) |

Specifies the particular child of this node, by index, that will be visible.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties