![]() |
Murl Engine API
Version 2018.3
|
The IBone video object interface. More...
#include <murl_video_i_bone.h>
The IBone video object interface.
This interface represents a single bone of a skeleton used for vertex skinning.
Used internally by Graph::Bone.
Inherited by Murl::Video::Bone.
Public Member Functions | |
virtual IObject * | GetObjectInterface ()=0 |
Get the mutable Video::IObject interface. More... | |
virtual const IObject * | GetObjectInterface () const =0 |
Get the constant Video::IObject interface. More... | |
virtual Bool | Enable (UInt32 unit)=0 |
Enable the bone at a given unit. More... | |
virtual Bool | Disable (UInt32 unit)=0 |
Disable the bone at a given unit. More... | |
virtual Bool | Set (IProgram *currentProgram, UInt32 unit)=0 |
Attach the bone to the current GPU program at a given unit. More... | |
virtual const Matrix & | GetTransform () const =0 |
Get the actual bone transform matrix. More... | |
virtual Bool | SetWorldTransform (const Matrix &transform)=0 |
Set the bone's current world transform. More... | |
virtual const Matrix & | GetWorldTransform () const =0 |
Get the bone's current world transform. More... | |
virtual Bool | SetOffsetTransform (const Matrix &transform)=0 |
Set the bone's offset transform. More... | |
virtual const Matrix & | GetOffsetTransform () const =0 |
Get the bone's offset transform. More... | |
|
pure virtual |
Get the mutable Video::IObject interface.
|
pure virtual |
Get the constant Video::IObject interface.
Enable the bone at a given unit.
unit | The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1. |
Disable the bone at a given unit.
unit | The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1. |
Attach the bone to the current GPU program at a given unit.
currentProgram | The current GPU program. |
unit | The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1. |
|
pure virtual |
Get the actual bone transform matrix.
The returned matrix is the result of the matrix multiplication of world and offset transform.
Set the bone's current world transform.
transform | The world transform. |
|
pure virtual |
Get the bone's current world transform.
Set the bone's offset transform.
transform | The offset transform. |
|
pure virtual |
Get the bone's offset transform.