Planeshift
psEffectObjKeyFrameGroup Class Reference

Effect objects KeyFrame group. More...

#include <pseffectobj.h>

Public Member Functions

csPtr< psEffectObjKeyFrameGroupClone () const
 Clones the key frame group object. More...
 
void DeleteAll ()
 Deletes all of the keyframes in this group. More...
 
void DeleteIndex (size_t idx)
 Deletes the keyframe at the given index. More...
 
psEffectObjKeyFrameGet (size_t idx) const
 Returns the keyframe at the given index. More...
 
size_t GetSize () const
 Returns the number of keyframes in the group. More...
 
psEffectObjKeyFrameoperator[] (size_t idx) const
 Returns the keyframe at the given index. More...
 
 psEffectObjKeyFrameGroup ()
 
void Push (psEffectObjKeyFrame *keyFrame)
 Pushes a keyframe onto the group. More...
 
bool SetFrameParamScalings (const float *scale)
 Adjust each parameter in each frame that have the use_scale property set with this scale. More...
 
 ~psEffectObjKeyFrameGroup ()
 

Detailed Description

Effect objects KeyFrame group.

Definition at line 118 of file pseffectobj.h.

Constructor & Destructor Documentation

psEffectObjKeyFrameGroup::psEffectObjKeyFrameGroup ( )
psEffectObjKeyFrameGroup::~psEffectObjKeyFrameGroup ( )

Member Function Documentation

csPtr<psEffectObjKeyFrameGroup> psEffectObjKeyFrameGroup::Clone ( ) const

Clones the key frame group object.

void psEffectObjKeyFrameGroup::DeleteAll ( )
inline

Deletes all of the keyframes in this group.

Definition at line 182 of file pseffectobj.h.

void psEffectObjKeyFrameGroup::DeleteIndex ( size_t  idx)
inline

Deletes the keyframe at the given index.

Parameters
idxthe index of the keyframe to delete

Definition at line 174 of file pseffectobj.h.

psEffectObjKeyFrame* psEffectObjKeyFrameGroup::Get ( size_t  idx) const
inline

Returns the keyframe at the given index.

Parameters
idxthe index of the keyframe to grab
Returns
the keyframe

Definition at line 143 of file pseffectobj.h.

size_t psEffectObjKeyFrameGroup::GetSize ( ) const
inline

Returns the number of keyframes in the group.

Returns
the keyframe count

Definition at line 132 of file pseffectobj.h.

psEffectObjKeyFrame* psEffectObjKeyFrameGroup::operator[] ( size_t  idx) const
inline

Returns the keyframe at the given index.

Parameters
idxthe index of the keyframe to grab
Returns
the keyframe

Definition at line 154 of file pseffectobj.h.

void psEffectObjKeyFrameGroup::Push ( psEffectObjKeyFrame keyFrame)
inline

Pushes a keyframe onto the group.

Parameters
keyFramethe keyframe to push

Definition at line 164 of file pseffectobj.h.

bool psEffectObjKeyFrameGroup::SetFrameParamScalings ( const float scale)

Adjust each parameter in each frame that have the use_scale property set with this scale.

Returns
True if if any params where scaled

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