BaseToolTarget (object)¶
バージョン 2.0.1 で追加.
BaseToolTarget implements ToolTarget and defines the base class for any targets.
参考
Members¶
Ref<Tool> | tool | Reference to the SRT tool that manipulates its target. We only keep a weak reference (Ref<>) to avoid circular reference. |
Cmd[] | cmd | Array of commands, one per manipulated objects. |
Methods¶
BaseToolTarget ( in BaseToolTarget other ) | |
BaseToolTarget () | |
bakeValue ! () | |
BaseToolTarget | clone ? () |
Ref<Tool> | getTool ? () |
init ! ( in Ref<Tool> tool ) | |
Boolean | isValid ? () |
registerValue ! () |
Methods in detail¶
BaseToolTarget ( in BaseToolTarget other )
copy constructor
default constructor
BaseToolTarget.bakeValue! ()
Implementation of ToolTarget. To override.
BaseToolTarget BaseToolTarget.clone? ()
clone method
Ref<Tool> BaseToolTarget.getTool? ()
Implementation of ToolTarget.
BaseToolTarget.init! ( in Ref<Tool> tool )
Initializes the target with a reference to the tool. It acts as a delayed constructor so we can call tool.updateFromTarget().
tool | The reference to the tool |
Boolean BaseToolTarget.isValid? ()
Implementation of ToolTarget. To override.
BaseToolTarget.registerValue! ()
Implementation of ToolTarget. To override.