Click or drag to resize
SoDraggerSetMotionMatrix Method

Set the motion matrix.

Namespace: OIV.Inventor.Draggers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetMotionMatrix(
	SbMatrix newMatrix
)

Parameters

newMatrix
Type: OIV.InventorSbMatrix
Remarks

Generally the motion matrix should not be modified while dragging, because the dragger updates the motion matrix automatically. However it can be useful to set the motion matrix when the dragger is created, for example to change the orientation of the dragger without having to create a separate transform node.

Triggers value changed callbacks, but only if newMatrix != the current motionMatrix. Value changed callbacks can be disabled using the OIV.Inventor.Draggers.SoDragger.EnableValueChangedEvent(System.Boolean) method.

See Also