Panda3D
|
Skeleton object that inherits from TypedObject. More...
#include <pandadoc.hpp>
Public Member Functions | |
__init__ () | |
int | getValue () |
Retreives a value that was previously stored. | |
int | getValueAlt () |
Retreives a value that was previously stored. | |
setValue (int n) | |
setValueAlt (int n) | |
Stores an integer value. | |
![]() | |
TypeHandle | getType () |
int | getTypeIndex () |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
bool | isExactType (TypeHandle handle) |
Returns true if the current object is the indicated type exactly. | |
bool | isOfType (TypeHandle handle) |
Returns true if the current object is or derives from the indicated type. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
![]() | |
static TypeHandle | getClassType () |
Additional Inherited Members | |
![]() | |
TypeHandle | type |
Returns the TypeHandle representing this object's type. | |
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."
__init__ | ( | ) |
|
static |
int getValue | ( | ) |
Retreives a value that was previously stored.
int getValueAlt | ( | ) |
Retreives a value that was previously stored.
Exact same functionality as get_value, except that this isn't an inline function.
setValue | ( | int | n | ) |
setValueAlt | ( | int | n | ) |
Stores an integer value.
Exact same functionality as set_value, except that this isn't an inline function.