SoTransformPointAt Method |
Sets the node to translate the origin to the fromPoint and rotate the negative z-axis (0,0,-1) to lie on the vector from fromPoint to toPoint .
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void PointAt(
SbVec3f fromPoint,
SbVec3f toPoint
)
Public Sub PointAt (
fromPoint As SbVec3f,
toPoint As SbVec3f
)
public:
void PointAt(
SbVec3f fromPoint,
SbVec3f toPoint
)
member PointAt :
fromPoint : SbVec3f *
toPoint : SbVec3f -> unit
Parameters
- fromPoint
- Type: OIV.InventorSbVec3f
- toPoint
- Type: OIV.InventorSbVec3f
Remarks This always tries to keep the "up" direction the positive y-axis, unless that is impossible. All current field values in the node are replaced.
See Also