Torque 3D - Script Manual: Camera System

TorqueScript

Main   Class List   Namespace List   Online

Camera System

This section is dedicated to the various camera objects in Torque 3D. More...

Modules

 Base Camera
 

The base camera object that is typically manipulated by a GameConnection's input.


 Path Camera
 

A camera that moves along a path.


Functions

void setDefaultFov (float defaultFOV)
 Set the default FOV for a camera.
void setFov (float FOV)
 Set the FOV of the camera.
void setZoomSpeed (int speed)
 Set the zoom speed of the camera. This affects how quickly the camera changes from one field of view to another.

Detailed Description

This section is dedicated to the various camera objects in Torque 3D.


Function Documentation

void setDefaultFov ( float  defaultFOV  ) 

Set the default FOV for a camera.

Parameters:
defaultFOV The default field of view in degrees
void setFov ( float  FOV  ) 

Set the FOV of the camera.

Parameters:
FOV The camera's new FOV in degrees
void setZoomSpeed ( int  speed  ) 

Set the zoom speed of the camera. This affects how quickly the camera changes from one field of view to another.

Parameters:
speed The camera's zoom speed in ms per 90deg FOV change


Copyright © GarageGames, LLC. All Rights Reserved.