ImageGear .NET v24.12 - Updated
Rotate Method (ImGearVectorEntity)




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorEntity Class : Rotate Method
Rotation angle in radians.
X coordinate of the rotation vector.
Y coordinate of the rotation vector.
Z coordinate of the rotation vector.
Defines the order of transformation.
Rotates the entity about to the specified vector on the specified angle.
Syntax
'Declaration
 
Public Sub Rotate( _
   ByVal angle As Single, _
   ByVal vectorX As Single, _
   ByVal vectorY As Single, _
   ByVal vectorZ As Single, _
   ByVal transformBeforeRotating As Boolean _
) 
'Usage
 
Dim instance As ImGearVectorEntity
Dim angle As Single
Dim vectorX As Single
Dim vectorY As Single
Dim vectorZ As Single
Dim transformBeforeRotating As Boolean
 
instance.Rotate(angle, vectorX, vectorY, vectorZ, transformBeforeRotating)
public void Rotate( 
   float angle,
   float vectorX,
   float vectorY,
   float vectorZ,
   bool transformBeforeRotating
)
public: void Rotate( 
   float angle,
   float vectorX,
   float vectorY,
   float vectorZ,
   bool transformBeforeRotating
) 
public:
void Rotate( 
   float angle,
   float vectorX,
   float vectorY,
   float vectorZ,
   bool transformBeforeRotating
) 

Parameters

angle
Rotation angle in radians.
vectorX
X coordinate of the rotation vector.
vectorY
Y coordinate of the rotation vector.
vectorZ
Z coordinate of the rotation vector.
transformBeforeRotating
Defines the order of transformation.
Remarks
If transformBeforeRotating parameter is true then rotation is performed before other transformations (that is, the current matrix is multiplied by the rotation matrix). Otherwise, the rotation matrix is multiplied by the current matrix.
See Also

Reference

ImGearVectorEntity Class
ImGearVectorEntity Members