Rotates the camera on the specified angle about the specified vector.
Syntax
'Declaration
Public Sub Rotate( _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Boolean _
)
'Usage
Dim instance As ImGearVectorView
Dim angle As Single
Dim vectorX As Single
Dim vectorY As Single
Dim vectorZ As Single
Dim rotateAboutLookPoint As Boolean
instance.Rotate(angle, vectorX, vectorY, vectorZ, rotateAboutLookPoint)
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.
- rotateAboutLookPoint
- The value indicating whether to perform a rotation about a look point.
See Also