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

BL_ActionActuator Class Reference

#include <BL_ActionActuator.h>

Inheritance diagram for BL_ActionActuator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Py_Header BL_ActionActuator (SCA_IObject *gameobj, const STR_String &propname, const STR_String &framepropname, float starttime, float endtime, struct bAction *action, short playtype, short blendin, short priority, short layer, float layer_weight, short ipo_flags, short end_reset, float stride)
virtual ~BL_ActionActuator ()
virtual bool Update (double curtime, bool frame)
virtual CValue * GetReplica ()
virtual void ProcessReplica ()
void SetBlendTime (float newtime)
void SetLocalTime (float curtime)
void ResetStartTime (float curtime)
bAction * GetAction ()
void SetAction (bAction *act)

Protected Attributes

MT_Point3 m_lastpos
float m_blendframe
int m_flag
float m_startframe
float m_endframe
float m_starttime
float m_localtime
float m_lastUpdate
float m_blendin
float m_blendstart
float m_stridelength
float m_layer_weight
short m_playtype
short m_priority
short m_layer
short m_ipo_flags
struct bPose * m_pose
struct bPose * m_blendpose
struct bPose * m_userpose
struct bAction * m_action
STR_String m_propname
STR_String m_framepropname

Detailed Description

Definition at line 40 of file BL_ActionActuator.h.


Constructor & Destructor Documentation

BL_ActionActuator::BL_ActionActuator ( SCA_IObject *  gameobj,
const STR_String &  propname,
const STR_String &  framepropname,
float  starttime,
float  endtime,
struct bAction *  action,
short  playtype,
short  blendin,
short  priority,
short  layer,
float  layer_weight,
short  ipo_flags,
short  end_reset,
float  stride 
)

Definition at line 62 of file BL_ActionActuator.cpp.

References ACT_FLAG_CONTINUE, and m_flag.

Referenced by GetReplica().

BL_ActionActuator::~BL_ActionActuator ( ) [virtual]

Definition at line 105 of file BL_ActionActuator.cpp.

References game_free_pose(), m_blendpose, m_pose, and m_userpose.


Member Function Documentation

bAction* BL_ActionActuator::GetAction ( ) [inline]

Definition at line 68 of file BL_ActionActuator.h.

References m_action.

Referenced by KX_BlenderSceneConverter::FreeBlendFile().

CValue * BL_ActionActuator::GetReplica ( void  ) [virtual]

Implements CValue.

Definition at line 178 of file BL_ActionActuator.cpp.

References BL_ActionActuator(), and ProcessReplica().

void BL_ActionActuator::ProcessReplica ( ) [virtual]

Makes sure any internal data owned by this class is deep copied.

Reimplemented from SCA_IActuator.

Definition at line 115 of file BL_ActionActuator.cpp.

References m_blendpose, m_lastUpdate, m_localtime, m_pose, m_startframe, and NULL.

Referenced by GetReplica().

void BL_ActionActuator::ResetStartTime ( float  curtime)

Definition at line 170 of file BL_ActionActuator.cpp.

References KX_KetsjiEngine::GetAnimFrameRate(), m_localtime, m_startframe, and m_starttime.

Referenced by Update().

void BL_ActionActuator::SetAction ( bAction *  act) [inline]

Definition at line 69 of file BL_ActionActuator.h.

References m_action.

Referenced by KX_BlenderSceneConverter::FreeBlendFile().

void BL_ActionActuator::SetBlendTime ( float  newtime)

Definition at line 126 of file BL_ActionActuator.cpp.

References m_blendframe.

Referenced by BL_ArmatureObject::SetActiveAction().

void BL_ActionActuator::SetLocalTime ( float  curtime)
bool BL_ActionActuator::Update ( double  curtime,
bool  frame 
) [virtual]

Member Data Documentation

struct bAction* BL_ActionActuator::m_action [protected]

Definition at line 138 of file BL_ActionActuator.h.

Referenced by GetAction(), SetAction(), and Update().

Definition at line 115 of file BL_ActionActuator.h.

Referenced by SetBlendTime().

float BL_ActionActuator::m_blendin [protected]

Definition at line 127 of file BL_ActionActuator.h.

Referenced by Update().

Definition at line 136 of file BL_ActionActuator.h.

Referenced by ProcessReplica(), and ~BL_ActionActuator().

Definition at line 128 of file BL_ActionActuator.h.

float BL_ActionActuator::m_endframe [protected]

The frame this action ends

Definition at line 120 of file BL_ActionActuator.h.

Referenced by SetLocalTime(), and Update().

int BL_ActionActuator::m_flag [protected]

Definition at line 116 of file BL_ActionActuator.h.

Referenced by BL_ActionActuator(), SetLocalTime(), and Update().

Definition at line 140 of file BL_ActionActuator.h.

Referenced by Update().

short BL_ActionActuator::m_ipo_flags [protected]

Definition at line 134 of file BL_ActionActuator.h.

Referenced by Update().

Definition at line 114 of file BL_ActionActuator.h.

Definition at line 126 of file BL_ActionActuator.h.

Referenced by ProcessReplica().

short BL_ActionActuator::m_layer [protected]

Definition at line 133 of file BL_ActionActuator.h.

Referenced by SetLocalTime(), and Update().

Definition at line 130 of file BL_ActionActuator.h.

Referenced by Update().

float BL_ActionActuator::m_localtime [protected]

The current time of the action

Definition at line 124 of file BL_ActionActuator.h.

Referenced by ProcessReplica(), ResetStartTime(), SetLocalTime(), and Update().

short BL_ActionActuator::m_playtype [protected]

Definition at line 131 of file BL_ActionActuator.h.

Referenced by SetLocalTime(), and Update().

struct bPose* BL_ActionActuator::m_pose [protected]

Definition at line 135 of file BL_ActionActuator.h.

Referenced by ProcessReplica(), and ~BL_ActionActuator().

short BL_ActionActuator::m_priority [protected]

Definition at line 132 of file BL_ActionActuator.h.

Referenced by Update().

Definition at line 139 of file BL_ActionActuator.h.

Referenced by Update().

The frame this action starts

Definition at line 118 of file BL_ActionActuator.h.

Referenced by ProcessReplica(), ResetStartTime(), SetLocalTime(), and Update().

float BL_ActionActuator::m_starttime [protected]

The time this action started

Definition at line 122 of file BL_ActionActuator.h.

Referenced by ResetStartTime(), and SetLocalTime().

Definition at line 129 of file BL_ActionActuator.h.

struct bPose* BL_ActionActuator::m_userpose [protected]

Definition at line 137 of file BL_ActionActuator.h.

Referenced by ~BL_ActionActuator().


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