glscene

 

TGLCamera

Page history last edited by skinhat 4 yrs ago

Is a camera to display a scene and includes camera position, direction, focal length, depth of view. A TGLSceneViewer has a camera property which can be set at design time and will display a scene from the camera's point of view.

Important TGLCamera properties:

focallength: Focal length of the camera

depthofview: Distance from camera at which objects are not renderered.

targetobject: TGLBaseSceneObject Specifies a scene object that the camera will point towards. The targetobject direction overrides all other directions. For example you cannot turn the camera 90o with the turn method when a target object is specified.

position: TGLCoordinates Position of the camera

direction: TGLCoordinates Direction camera is pointing

up: TGLCoordinates Up direction of camera

Demo: CVS/Demos/interface/camera

Unit: GLScene

Descends from TGLBaseSceneObject.

Comments (0)

You don't have permission to comment on this page.