3D Camera Functions

Return to Functions

SetCameraFocusX

    Arguments:
        1) real: x

Sets the x coordinate of the camera focus.

SetCameraFocusY

    Arguments:
        1) real: y

Sets the y coordinate of the camera focus.

SetCameraFocusZ

    Arguments:
        1) real: z

Sets the z coordinate of the camera focus.

SetCameraFocusXYZ

    Arguments:
        1) real: x
        2) real: y
        3) real: z

Sets the x, y, and z coordinates of the camera focus.

SetCameraRadius

    Arguments:
        1) real: distance

Sets the distance of the camera to the focus point.

SetCameraAzimuthAngle

    Arguments:
        1) real: azimuth

Sets the azimuth angle from the focus point.

SetCameraElevationAngle

    Arguments:
        1) real: elevation

Sets the elevation angle from the focus point.

SetCameraYaw

    Arguments:
        1) real: yaw

Sets the horizontal yaw angle of the camera.

SetCameraPitch

    Arguments:
        1) real: pitch

Sets the vertical pitch angle of the camera.

SetCameraRoll

    Arguments:
        1) real: roll

Sets the rotational roll angle of the camera.

GetCameraX

    Return Type:
        real

Returns the x coordinate of the camera.

Defaults to 341.506348.

GetCameraY

    Return Type:
        real

Returns the y coordinate of the camera.

Defaults to 353.553375.

GetCameraZ

    Return Type:
        real

Returns the z coordinate of the camera.

Defaults to 91.506348.

GetCameraFocusX

    Return Type:
        real

Returns the x coordinate of the camera focus point.

Defaults to 0.

GetCameraFocusY

    Return Type:
        real

Returns the y coordinate of the camera focus point.

Defaults to 0.

GetCameraFocusZ

    Return Type:
        real

Returns the z coordinate of the camera focus point.

Defaults to 0.

GetCameraRadius

    Return Type:
        real

Returns the distance from the focus point to the camera.

Defaults to 500.

GetCameraAzimuthAngle

    Return Type:
        real

Returns the azimuth angle from the focus point to the camera.

Defaults to 15.

GetCameraElevationAngle

    Return Type:
        real

Returns the elevation angle from the focus point to the camera.

Defaults to 45.

GetCameraYaw

    Return Type:
        real

Returns the horizontal yaw angle of the camera.

Defaults to 0.

GetCameraPitch

    Return Type:
        real

Returns the vertical pitch angle of the camera.

Defaults to 0.

GetCameraRoll

    Return Type:
        real

Returns the rotational roll angle of the camera.

Defaults to 0.

SetCameraPerspectiveClip

    Arguments:
        1) real: nearClip
        2) real: farClip

Sets camera clipping distances.
Objects that are further or nearer than the clipping distance will not be drawn.