Click or drag to resize
Transformer3dsRotateObject Method (String, Vector3D, Double, Boolean)
Applies AxisAngleRotation3D to the object with objectName and to all its child objects. The rotation is applied around objects center point.

Namespace: Ab3d
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax
C#
public void RotateObject(
	string objectName,
	Vector3D objectRotationAxis,
	double objectRotationAngle,
	bool isAdditive
)

Parameters

objectName
Type: SystemString
name of the object in 3ds file
objectRotationAxis
Type: System.Windows.Media.Media3DVector3D
Axis in AxisAngleRotation3D
objectRotationAngle
Type: SystemDouble
Angle in AxisAngleRotation3D
isAdditive
Type: SystemBoolean
if true than the angle values are added to previous angle. Note: objectRotationAxis is not added to previous value - the previous value is replaced by this axis
See Also