ISubTargetCtrl gives access to sub-transform controller.
This interface is used to detect when a transform controller is just modifying the transform of a sub-transform-controller. The target of the sub-controller must be returned as the target of the parent controller. Setting the value of the parent controller should modify the value and set the value of the sub-controller to the modified value.
#include <ILinkTMCtrl.h>
Public Member Functions |
|
virtual bool | CanAssignTMController () const =0 |
Return whether this controller allows the
sub-controller to be assigned. |
|
virtual void | AssignTMController (Control *tm)=0 |
Assign the sub-controller. |
|
virtual Control * | GetTMController () const =0 |
Returns the sub-controller. |
virtual bool CanAssignTMController | ( | ) | const [pure virtual] |
Return whether this controller allows the sub-controller to be assigned.
virtual void AssignTMController | ( | Control * | tm | ) | [pure virtual] |
Assign the sub-controller.
[in] | tm | Sub-controller to assign; must be a Matrix3 controller. |
virtual Control* GetTMController | ( | ) | const [pure virtual] |
Returns the sub-controller.