Rotates the entity about to the specified vector on the specified angle.
Syntax
'Declaration
Public Sub Rotate( _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal 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 ,
float ,
float ,
float ,
bool
)
public: void Rotate(
float ,
float ,
float ,
float ,
bool
)
public:
void Rotate(
float ,
float ,
float ,
float ,
bool
)
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.
See Also