#include <GteSkinController.h>
Public Types | |
typedef std::function< void(std::shared_ptr< VertexBuffer > const &)> | Updater |
Public Member Functions | |
std::vector< std::weak_ptr< Node > > & | GetBones () |
int | GetNumBones () const |
int | GetNumVertices () const |
Array2< Vector4< float > > & | GetOffsets () |
Array2< float > & | GetWeights () |
SkinController (int numVertices, int numBones, Updater const &postUpdate) | |
virtual bool | Update (double applicationTime) |
virtual | ~SkinController () |
Public Member Functions inherited from gte::Controller | |
double | GetApplicationTime () const |
ControlledObject * | GetObject () const |
void | SetApplicationTime (double applicationTime) |
virtual void | SetObject (ControlledObject *object) |
virtual | ~Controller () |
Protected Member Functions | |
void | OnFirstUpdate () |
Protected Member Functions inherited from gte::Controller | |
Controller () | |
double | GetControlTime (double applicationTime) |
Protected Attributes | |
std::vector< std::weak_ptr< Node > > | mBones |
bool | mCanUpdate |
bool | mFirstUpdate |
int | mNumBones |
int | mNumVertices |
Array2< Vector4< float > > | mOffsets |
char * | mPosition |
Updater | mPostUpdate |
unsigned int | mStride |
Array2< float > | mWeights |
Protected Attributes inherited from gte::Controller | |
double | mApplicationTime |
ControlledObject * | mObject |
Additional Inherited Members | |
Public Attributes inherited from gte::Controller | |
bool | active |
double | frequency |
double | maxTime |
double | minTime |
std::string | name |
double | phase |
RepeatType | repeat |
Definition at line 22 of file GteSkinController.h.
typedef std::function<void(std::shared_ptr<VertexBuffer> const&)> gte::SkinController::Updater |
Definition at line 31 of file GteSkinController.h.
|
virtual |
Definition at line 14 of file GteSkinController.cpp.
Definition at line 18 of file GteSkinController.cpp.
|
inline |
Definition at line 76 of file GteSkinController.h.
|
inline |
Definition at line 71 of file GteSkinController.h.
|
inline |
Definition at line 66 of file GteSkinController.h.
Definition at line 86 of file GteSkinController.h.
|
inline |
Definition at line 81 of file GteSkinController.h.
|
protected |
Definition at line 92 of file GteSkinController.cpp.
|
virtual |
Reimplemented from gte::Controller.
Definition at line 33 of file GteSkinController.cpp.
|
protected |
Definition at line 56 of file GteSkinController.h.
|
protected |
Definition at line 62 of file GteSkinController.h.
|
protected |
Definition at line 62 of file GteSkinController.h.
|
protected |
Definition at line 55 of file GteSkinController.h.
|
protected |
Definition at line 54 of file GteSkinController.h.
Definition at line 58 of file GteSkinController.h.
|
protected |
Definition at line 60 of file GteSkinController.h.
|
protected |
Definition at line 59 of file GteSkinController.h.
|
protected |
Definition at line 61 of file GteSkinController.h.
|
protected |
Definition at line 57 of file GteSkinController.h.