#include <SimplygonSDK.h>
ISceneBone is the bone node in the simplygon scene graph
Definition at line 14822 of file SimplygonSDK.h.
◆ CollectAllChildBones()
virtual void SimplygonSDK::ISceneBone::CollectAllChildBones |
( |
IRidArray * |
child_bones | ) |
|
|
pure virtual |
Looks through the sub-tree and collects the IDs of the bones found.
- Parameters
-
child_bones | is the array to which the ids of found child bones will be written |
◆ GetBoneId()
virtual rid SimplygonSDK::ISceneBone::GetBoneId |
( |
| ) |
|
|
pure virtual |
Get the BoneId
- Returns
- the id of the current scene bone
◆ GetClass()
virtual const char* SimplygonSDK::ISceneBone::GetClass |
( |
| ) |
|
|
virtual |
GetClass returns the name of the class of the object.
- Returns
- the name of the actual class of the object, as a const char string
Reimplemented from SimplygonSDK::ISceneNode.
◆ GetParentBone()
virtual rid SimplygonSDK::ISceneBone::GetParentBone |
( |
| ) |
|
|
pure virtual |
Looks through the hierarchy and fetches the previous BoneNode. If none is found, this is a Root-Bone-Node. -1 means it has no parent, otherwise, the ID is the parent ID.
- Returns
- the id of the parent bone, or -1 if no parent exists
◆ IsA()
virtual bool SimplygonSDK::ISceneBone::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the object is, or is a descendant of |
- Returns
- true if the object is of the specified class, false if not
Reimplemented from SimplygonSDK::ISceneNode.
◆ IsClassA()
static bool SimplygonSDK::ISceneBone::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if ISceneBone is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 14843 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a ISceneBone pointer, and if this is possible, returns the cast pointer.
- Parameters
-
ptr | is the pointer to be cast into a ISceneBone pointer |
- Returns
- a pointer to the ISceneBone object, if the cast can be made, and a NULL pointer otherwise
Definition at line 14856 of file SimplygonSDK.h.
The documentation for this class was generated from the following file: