Panda3D
Public Member Functions | Static Public Member Functions | List of all members
TypedSkel Class Reference

Skeleton object that inherits from TypedObject. More...

Inheritance diagram for TypedSkel:
TypedObject

Public Member Functions

 __init__ ()
 
int getValue ()
 Retreives a value that was previously stored. More...
 
int getValueAlt ()
 Retreives a value that was previously stored. More...
 
 setValue (int n)
 
 setValueAlt (int n)
 Stores an integer value. More...
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Detailed Description

Skeleton object that inherits from TypedObject.

Stores an integer, and will return it on request.

The skeleton classes are intended to help you learn how to add C++ classes to panda. See also the manual, "Adding C++ Classes to Panda."

Member Function Documentation

◆ __init__()

__init__ ( )

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getValue()

int getValue ( )

Retreives a value that was previously stored.

◆ getValueAlt()

int getValueAlt ( )

Retreives a value that was previously stored.

Exact same functionality as get_value, except that this isn't an inline function.

◆ setValue()

setValue ( int  n)

◆ setValueAlt()

setValueAlt ( int  n)

Stores an integer value.

Exact same functionality as set_value, except that this isn't an inline function.