Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
SelectiveChildNode PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject

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.

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