BaseSRTTarget.kl¶
Interfaces¶
SRTTarget (interface)¶
バージョン 2.0 で追加.
BaseSRTTarget is a base class for any SRTTarget.
参考
Functions¶
Mat44 | getTransform ? () |
transformChanged ! ( in Mat44 transform ) |
Functions in detail¶
Mat44 SRTTarget.getTransform? ()
Gets the target mean tranform as a Mat44. This must be called only if isValid() == true.
SRTTarget.transformChanged! ( in Mat44 transform )
Applies a new tranform on all the target. A ‘delta’ tranform is computed from transform input and first transform. Then, this delta is applied on each target’s transform.
Types¶
BaseSRTTarget (object)¶
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. |
Mat44[] | transforms | Array of tranforms (one transform for each target) |
Methods¶
BaseSRTTarget ( in BaseSRTTarget other ) | |
BaseSRTTarget () | |
BaseSRTTarget | clone ? () |
Mat44 | getTransform ? () |
transformChanged ! ( in Mat44 transform ) |