ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorView 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.
The value indicating whether to perform a rotation about a look point.




In This Topic
    Rotate Method (ImGearVectorView)
    In This Topic
    Rotates the camera on the specified angle about the specified vector.
    Syntax
    'Declaration
     
    Public Sub Rotate( _
       ByVal angle As Single, _
       ByVal vectorX As Single, _
       ByVal vectorY As Single, _
       ByVal vectorZ As Single, _
       ByVal rotateAboutLookPoint 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 angle,
       float vectorX,
       float vectorY,
       float vectorZ,
       bool rotateAboutLookPoint
    )
    public: void Rotate( 
       float angle,
       float vectorX,
       float vectorY,
       float vectorZ,
       bool rotateAboutLookPoint
    ) 
    public:
    void Rotate( 
       float angle,
       float vectorX,
       float vectorY,
       float vectorZ,
       bool rotateAboutLookPoint
    ) 

    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