Blender V2.61 - r43446
|
#include <KX_MaterialIpoController.h>
Public Member Functions | |
KX_MaterialIpoController (dword matname_hash) | |
virtual | ~KX_MaterialIpoController () |
virtual SG_Controller * | GetReplica (class SG_Node *destnode) |
virtual bool | Update (double time) |
virtual void | SetSimulatedTime (double time) |
void | SetOption (int option, int value) |
void | AddInterpolator (KX_IInterpolator *interp) |
Public Attributes | |
MT_Vector4 | m_rgba |
MT_Vector3 | m_specrgb |
MT_Scalar | m_hard |
MT_Scalar | m_spec |
MT_Scalar | m_ref |
MT_Scalar | m_emit |
MT_Scalar | m_alpha |
Definition at line 17 of file KX_MaterialIpoController.h.
KX_MaterialIpoController::KX_MaterialIpoController | ( | dword | matname_hash | ) | [inline] |
Definition at line 35 of file KX_MaterialIpoController.h.
Referenced by GetReplica().
KX_MaterialIpoController::~KX_MaterialIpoController | ( | ) | [virtual] |
Definition at line 91 of file KX_MaterialIpoController.cpp.
References i.
void KX_MaterialIpoController::AddInterpolator | ( | KX_IInterpolator * | interp | ) |
Definition at line 57 of file KX_MaterialIpoController.cpp.
Referenced by ConvertMaterialIpos(), and GetReplica().
SG_Controller * KX_MaterialIpoController::GetReplica | ( | class SG_Node * | destnode | ) | [virtual] |
Implements SG_Controller.
Definition at line 62 of file KX_MaterialIpoController.cpp.
References AddInterpolator(), SG_Controller::ClearObject(), i, KX_MaterialIpoController(), and KX_ScalarInterpolator::SetNewTarget().
void KX_MaterialIpoController::SetOption | ( | int | option, |
int | value | ||
) | [inline, virtual] |
Hacky way of passing options to specific controllers
option | An integer identifying the option. |
value | The value of this option. |
Implements SG_Controller.
Definition at line 49 of file KX_MaterialIpoController.h.
virtual void KX_MaterialIpoController::SetSimulatedTime | ( | double | time | ) | [inline, virtual] |
Implements SG_Controller.
Definition at line 43 of file KX_MaterialIpoController.h.
bool KX_MaterialIpoController::Update | ( | double | time | ) | [virtual] |
Implements SG_Controller.
Definition at line 11 of file KX_MaterialIpoController.cpp.
References SG_IObject::GetSGClientObject(), i, m_alpha, m_emit, m_hard, SG_Controller::m_pObject, m_ref, m_rgba, m_spec, m_specrgb, and KX_GameObject::UpdateMaterialData().
Definition at line 26 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 25 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 22 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 24 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 20 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 23 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().
Definition at line 21 of file KX_MaterialIpoController.h.
Referenced by ConvertMaterialIpos(), and Update().