UE Assimp
Asset importer exporter for unreal engine
UAICamera Class Reference
Inheritance diagram for UAICamera:

Public Member Functions

FString GetCameraName ()
 
float GetCameraFOV ()
 
float GetClipPlaneNear ()
 
float GetClipPlaneFar ()
 
float GetAspectRatio ()
 
FVector GetPosition ()
 
FVector GetUpVector ()
 
FVector GetLookAtVector ()
 

Public Attributes

friend UAIScene
 

Member Function Documentation

◆ GetAspectRatio()

float UAICamera::GetAspectRatio ( )

Screen aspect ratio.

This is the ration between the width and the height of the screen. Typical values are 4/3, 1/2 or 1/1. This value is 0 if the aspect ratio is not defined in the source file. 0 is also the default value.

◆ GetCameraFOV()

float UAICamera::GetCameraFOV ( )

Half horizontal field of view angle, in radians.

The field of view angle is the angle between the center line of the screen and the left or right border. The default value is 1/4PI.

◆ GetCameraName()

FString UAICamera::GetCameraName ( )

The name of the camera.

There must be a node in the scenegraph with the same name. This node specifies the position of the camera in the scene hierarchy and can be animated.

◆ GetClipPlaneFar()

float UAICamera::GetClipPlaneFar ( )

Distance of the far clipping plane from the camera.

The far clipping plane must, of course, be further away than the near clipping plane. The default value is 1000.f. The ratio between the near and the far plane should not be too large (between 1000-10000 should be ok) to avoid floating-point inaccuracies which could lead to z-fighting.

◆ GetClipPlaneNear()

float UAICamera::GetClipPlaneNear ( )

Distance of the near clipping plane from the camera.

The value may not be 0.f (for arithmetic reasons to prevent a division through zero). The default value is 0.1f.

◆ GetLookAtVector()

FVector UAICamera::GetLookAtVector ( )

'LookAt' - vector of the camera coordinate system relative to the coordinate space defined by the corresponding node.

This is the viewing direction of the user. The default value is 0|0|1. The vector may be normalized, but it needn't.

◆ GetPosition()

FVector UAICamera::GetPosition ( )

Position of the camera relative to the coordinate space defined by the corresponding node.

The default value is 0|0|0.

◆ GetUpVector()

FVector UAICamera::GetUpVector ( )

'Up' - vector of the camera coordinate system relative to the coordinate space defined by the corresponding node.

The 'right' vector of the camera coordinate system is the cross product of the up and lookAt vectors. The default value is 0|1|0. The vector may be normalized, but it needn't.


The documentation for this class was generated from the following files: