Blender V2.61 - r43446
Public Member Functions | Public Attributes

KX_MaterialIpoController Class Reference

#include <KX_MaterialIpoController.h>

Inheritance diagram for KX_MaterialIpoController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KX_MaterialIpoController (dword matname_hash)
virtual ~KX_MaterialIpoController ()
virtual SG_ControllerGetReplica (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

Detailed Description

Definition at line 17 of file KX_MaterialIpoController.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]
void KX_MaterialIpoController::SetOption ( int  option,
int  value 
) [inline, virtual]

Hacky way of passing options to specific controllers

Parameters:
optionAn integer identifying the option.
valueThe value of this option.
Attention:
This has been placed here to give sca-elements
some control over the controllers. This is
necessary because the identity of the controller
is lost on the way here.

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]

Member Data Documentation

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().


The documentation for this class was generated from the following files: