|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
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 |
| 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.
| bool GetbUseFieldOfViewForLOD | ( | ) | const |
If true, account for the field of view angle when computing which level of detail to use for meshes.
| FMinimalViewInfo & opAssign | ( | FMinimalViewInfo | Other | ) |
| 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.
| void SetbUseFieldOfViewForLOD | ( | bool | Value | ) |
If true, account for the field of view angle when computing which level of detail to use for meshes.
| float32 AspectRatio |
Aspect Ratio (Width/Height).
| 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 bAutoCalculateOrthoPlanes |
Option for the Ortho camera to automatically calculated the near/far plane.
| bool bConstrainAspectRatio |
| 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).
| bool bUseFieldOfViewForLOD |
| float32 FOV |
The horizontal field of view (in degrees) in perspective mode (ignored in orthographic mode).
| FVector Location |
Location.
| FVector2D OffCenterProjectionOffset |
Off-axis / off-center projection offset as proportion of screen dimensions.
| float32 OrthoFarClipPlane |
The far plane distance of the orthographic view (in world units).
| float32 OrthoNearClipPlane |
The near plane distance of the orthographic view (in world units).
| float32 OrthoWidth |
The desired width (in world units) of the orthographic view (ignored in Perspective mode).
| 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 PostProcessBlendWeight |
Indicates if PostProcessSettings should be applied.
| FPostProcessSettings PostProcessSettings |
Post-process settings to use if PostProcessBlendWeight is non-zero.
| ECameraProjectionMode ProjectionMode |
The type of camera.
| FRotator Rotation |
Rotation.