Click or drag to resize
SbRotationSetValue Method (SbVec3f, SbVec3f)
Sets rotation to rotate one direction vector to another. The rotateFrom and rotateTo arguments are normalized before the rotation is calculated.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.2.2.Release.6302728a59ca92a379363e9f70e77ea11c06379f
Syntax
public void SetValue(
	SbVec3f rotateFrom,
	SbVec3f rotateTo
)

Parameters

rotateFrom
Type: OIV.InventorSbVec3f
Start vector.
rotateTo
Type: OIV.InventorSbVec3f
End vector.
See Also