G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FMinimalViewInfo Struct Reference

Public Member Functions

Functions
bool GetbConstrainAspectRatio () const
 If bConstrainAspectRatio is true, black bars will be added if the destination view has a different aspect ratio than this camera requested.
void SetbConstrainAspectRatio (bool Value)
 If bConstrainAspectRatio is true, black bars will be added if the destination view has a different aspect ratio than this camera requested.
bool GetbUseFieldOfViewForLOD () const
 If true, account for the field of view angle when computing which level of detail to use for meshes.
void SetbUseFieldOfViewForLOD (bool Value)
 If true, account for the field of view angle when computing which level of detail to use for meshes.
FMinimalViewInfo & opAssign (FMinimalViewInfo Other)

Public Attributes

Camera
float32 OrthoFarClipPlane
 The far plane distance of the orthographic view (in world units).
FRotator Rotation
 Rotation.
float32 FOV
 The horizontal field of view (in degrees) in perspective mode (ignored in orthographic mode).
float32 OrthoWidth
 The desired width (in world units) of the orthographic view (ignored in Perspective mode).
bool bAutoCalculateOrthoPlanes
 Option for the Ortho camera to automatically calculated the near/far plane.
float32 AutoPlaneShift
 Manually adjusts the planes of this camera, maintaining the distance between them. Positive moves out to the farplane, negative towards the near plane.
bool bUpdateOrthoPlanes
 Adjusts the near/far planes and the view origin of the current camera automatically to avoid clipping and light artefacting.
bool bUseCameraHeightAsViewTarget
 If UpdateOrthoPlanes is enabled, this setting will use the cameras current height to compensate the distance to the general view (as a pseudo distance to view target when one isn't present).
float32 OrthoNearClipPlane
 The near plane distance of the orthographic view (in world units).
FVector Location
 Location.
float32 PerspectiveNearClipPlane
 The near plane distance of the perspective view (in world units). Set to a negative value to use the default global value of GNearClippingPlane.
float32 AspectRatio
 Aspect Ratio (Width/Height).
ECameraProjectionMode ProjectionMode
 The type of camera.
float32 PostProcessBlendWeight
 Indicates if PostProcessSettings should be applied.
FPostProcessSettings PostProcessSettings
 Post-process settings to use if PostProcessBlendWeight is non-zero.
FVector2D OffCenterProjectionOffset
 Off-axis / off-center projection offset as proportion of screen dimensions.
Variables
bool bUseFieldOfViewForLOD
bool bConstrainAspectRatio

Member Function Documentation

◆ GetbConstrainAspectRatio()

bool GetbConstrainAspectRatio ( ) const

If bConstrainAspectRatio is true, black bars will be added if the destination view has a different aspect ratio than this camera requested.

◆ GetbUseFieldOfViewForLOD()

bool GetbUseFieldOfViewForLOD ( ) const

If true, account for the field of view angle when computing which level of detail to use for meshes.

◆ opAssign()

FMinimalViewInfo & opAssign ( FMinimalViewInfo Other)

◆ SetbConstrainAspectRatio()

void SetbConstrainAspectRatio ( bool Value)

If bConstrainAspectRatio is true, black bars will be added if the destination view has a different aspect ratio than this camera requested.

◆ SetbUseFieldOfViewForLOD()

void SetbUseFieldOfViewForLOD ( bool Value)

If true, account for the field of view angle when computing which level of detail to use for meshes.

Member Data Documentation

◆ AspectRatio

float32 AspectRatio

Aspect Ratio (Width/Height).

◆ AutoPlaneShift

float32 AutoPlaneShift

Manually adjusts the planes of this camera, maintaining the distance between them. Positive moves out to the farplane, negative towards the near plane.

◆ bAutoCalculateOrthoPlanes

bool bAutoCalculateOrthoPlanes

Option for the Ortho camera to automatically calculated the near/far plane.

◆ bConstrainAspectRatio

bool bConstrainAspectRatio

◆ bUpdateOrthoPlanes

bool bUpdateOrthoPlanes

Adjusts the near/far planes and the view origin of the current camera automatically to avoid clipping and light artefacting.

◆ bUseCameraHeightAsViewTarget

bool bUseCameraHeightAsViewTarget

If UpdateOrthoPlanes is enabled, this setting will use the cameras current height to compensate the distance to the general view (as a pseudo distance to view target when one isn't present).

◆ bUseFieldOfViewForLOD

bool bUseFieldOfViewForLOD

◆ FOV

float32 FOV

The horizontal field of view (in degrees) in perspective mode (ignored in orthographic mode).

◆ Location

FVector Location

Location.

◆ OffCenterProjectionOffset

FVector2D OffCenterProjectionOffset

Off-axis / off-center projection offset as proportion of screen dimensions.

◆ OrthoFarClipPlane

float32 OrthoFarClipPlane

The far plane distance of the orthographic view (in world units).

◆ OrthoNearClipPlane

float32 OrthoNearClipPlane

The near plane distance of the orthographic view (in world units).

◆ OrthoWidth

float32 OrthoWidth

The desired width (in world units) of the orthographic view (ignored in Perspective mode).

◆ PerspectiveNearClipPlane

float32 PerspectiveNearClipPlane

The near plane distance of the perspective view (in world units). Set to a negative value to use the default global value of GNearClippingPlane.

◆ PostProcessBlendWeight

float32 PostProcessBlendWeight

Indicates if PostProcessSettings should be applied.

◆ PostProcessSettings

FPostProcessSettings PostProcessSettings

Post-process settings to use if PostProcessBlendWeight is non-zero.

◆ ProjectionMode

ECameraProjectionMode ProjectionMode

The type of camera.

◆ Rotation

FRotator Rotation

Rotation.