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.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntaxpublic void SetValue(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
Public Sub SetValue (
rotateFrom As SbVec3f,
rotateTo As SbVec3f
)
public:
void SetValue(
SbVec3f rotateFrom,
SbVec3f rotateTo
)
member SetValue :
rotateFrom : SbVec3f *
rotateTo : SbVec3f -> unit
Parameters
- rotateFrom
- Type: OIV.InventorSbVec3f
Start vector. - rotateTo
- Type: OIV.InventorSbVec3f
End vector.
See Also