This is a helper class.
If we want to set just one attribute of the IK Key Property, we can derive a new class from it as follows:
class SetIKBlendProp : public ISetIKKeyProp { public: SetIKBlendProp(float blend) : mBlend(blend) {} float GetIKBlend() const { return mBlend; } bool SetIKBlend() const { return true; } float mBlend; }; IKeyControl2* keyControl = (IKeyControl2*)control->GetInterface(I_KEYCONTROL2); SetIKBlendProp prop(new_blend_value); keyControl->SetKeyProp(IKeyProperty::kIKProp, key_index, prop);
#include <istdplug.h>

Public Member Functions |
|
| float | GetIKBlend () const |
| Override IIKKeyProp::GetIKBlend().
|
|
| EnumIKSpace | GetIKSpace () const |
| Override IIKKeyProp::GetIKSpace().
|
|
| bool | GetPivotOn () const |
| Override IIKKeyProp::GetPivotOn().
|
|
| Point3 | GetWorldPivot () const |
| Override IIKKeyProp::GetWorldPivot().
|
|
| INode * | GetPivotNode () const |
| Override IIKKeyProp::GetPivotNode().
|
|
| float GetIKBlend | ( | ) | const [inline, virtual] |
| EnumIKSpace GetIKSpace | ( | ) | const [inline, virtual] |
| bool GetPivotOn | ( | ) | const [inline, virtual] |
| Point3 GetWorldPivot | ( | ) | const [inline, virtual] |
| INode* GetPivotNode | ( | ) | const [inline, virtual] |