SoDraggerGetMotionMatrix Method |
Get the motion matrix.
Namespace: OIV.Inventor.Draggers
The motion matrix places the dragger relative to its parent space.
Generally, it is better to look in a dragger's fields to find out about its state. For example, looking at the 'translation' field of an OIV.Inventor.Draggers.SoTranslate1Dragger is easier than extracting the translation from its motion matrix. However for some complex draggers, e.g. OIV.Inventor.Draggers.SoCenterballDragger, it is not possible to reconstruct the internal matrix from the external fields. This method is useful in that case.