G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UCineCameraSettings Class Reference

Public Member Functions

Functions
void SetCropPresets (TArray< FNamedPlateCropPreset > InCropPresets)
void SetDefaultCropPresetName (const FString InDefaultCropPresetName)
void SetDefaultLensFocalLength (float32 InDefaultLensFocalLength)
void SetDefaultLensFStop (float32 InDefaultLensFStop)
void SetDefaultLensPresetName (const FString InDefaultLensPresetName)
 Internal Blueprint Setter functions that call SaveConfig after setting the variable to ensure settings persist.
void SetDefaultFilmbackPreset (const FString InDefaultFilmbackPreset)
void SetFilmbackPresets (TArray< FNamedFilmbackPreset > InFilmbackPresets)
const FString & GetDefaultLensPresetName () const
 Name of the default lens preset.
const float32 & GetDefaultLensFocalLength () const
 Default focal length (will be constrained by default lens).
const float32 & GetDefaultLensFStop () const
 Default aperture (will be constrained by default lens).
const TArray< FNamedLensPreset > & GetLensPresets () const
 List of available lens presets.
const FString & GetDefaultFilmbackPreset () const
 Name of the default filmback preset.
const TArray< FNamedFilmbackPreset > & GetFilmbackPresets () const
 List of available filmback presets.
const FString & GetDefaultCropPresetName () const
 Name of the default crop preset.
const TArray< FNamedPlateCropPreset > & GetCropPresets () const
 List of available crop presets.
void SetLensPresets (TArray< FNamedLensPreset > InLensPresets)

Static Public Member Functions

Static Functions
static UClass StaticClass ()

Public Attributes

Crop
TArray< FNamedPlateCropPreset > CropPresets
 List of available crop presets.
FString DefaultCropPresetName
 Name of the default crop preset.
Filmback
FString DefaultFilmbackPreset
 Name of the default filmback preset.
TArray< FNamedFilmbackPreset > FilmbackPresets
 List of available filmback presets.
Lens
FString DefaultLensPresetName
 Name of the default lens preset.
float32 DefaultLensFStop
 Default aperture (will be constrained by default lens).
float32 DefaultLensFocalLength
 Default focal length (will be constrained by default lens).
TArray< FNamedLensPreset > LensPresets
 List of available lens presets.

Static Public Attributes

Static Variables
static const UCineCameraSettings CineCameraSettings

Cinematics

bool GetFilmbackPresetByName (const FString PresetName, FCameraFilmbackSettings &FilmbackSettings)
 Gets the Filmback settings associated with a given preset name Returns true if a preset with the given name was found.
bool GetLensPresetByName (const FString PresetName, FCameraLensSettings &LensSettings)
 Gets the Lens settings associated with a given preset name Returns true if a preset with the given name was found.
bool GetCropPresetByName (const FString PresetName, FPlateCropSettings &CropSettings)
 Gets the Crop settings associated with a given preset name Returns true if a preset with the given name was found.
static UCineCameraSettings GetCineCameraSettings ()

Member Function Documentation

◆ GetCineCameraSettings()

UCineCameraSettings GetCineCameraSettings ( )
static

◆ GetCropPresetByName()

bool GetCropPresetByName ( const FString PresetName,
FPlateCropSettings & CropSettings )

Gets the Crop settings associated with a given preset name Returns true if a preset with the given name was found.

◆ GetCropPresets()

const TArray< FNamedPlateCropPreset > & GetCropPresets ( ) const

List of available crop presets.

◆ GetDefaultCropPresetName()

const FString & GetDefaultCropPresetName ( ) const

Name of the default crop preset.

◆ GetDefaultFilmbackPreset()

const FString & GetDefaultFilmbackPreset ( ) const

Name of the default filmback preset.

◆ GetDefaultLensFocalLength()

const float32 & GetDefaultLensFocalLength ( ) const

Default focal length (will be constrained by default lens).

◆ GetDefaultLensFStop()

const float32 & GetDefaultLensFStop ( ) const

Default aperture (will be constrained by default lens).

◆ GetDefaultLensPresetName()

const FString & GetDefaultLensPresetName ( ) const

Name of the default lens preset.

◆ GetFilmbackPresetByName()

bool GetFilmbackPresetByName ( const FString PresetName,
FCameraFilmbackSettings & FilmbackSettings )

Gets the Filmback settings associated with a given preset name Returns true if a preset with the given name was found.

◆ GetFilmbackPresets()

const TArray< FNamedFilmbackPreset > & GetFilmbackPresets ( ) const

List of available filmback presets.

◆ GetLensPresetByName()

bool GetLensPresetByName ( const FString PresetName,
FCameraLensSettings & LensSettings )

Gets the Lens settings associated with a given preset name Returns true if a preset with the given name was found.

◆ GetLensPresets()

const TArray< FNamedLensPreset > & GetLensPresets ( ) const

List of available lens presets.

◆ SetCropPresets()

void SetCropPresets ( TArray< FNamedPlateCropPreset > InCropPresets)

◆ SetDefaultCropPresetName()

void SetDefaultCropPresetName ( const FString InDefaultCropPresetName)

◆ SetDefaultFilmbackPreset()

void SetDefaultFilmbackPreset ( const FString InDefaultFilmbackPreset)

◆ SetDefaultLensFocalLength()

void SetDefaultLensFocalLength ( float32 InDefaultLensFocalLength)

◆ SetDefaultLensFStop()

void SetDefaultLensFStop ( float32 InDefaultLensFStop)

◆ SetDefaultLensPresetName()

void SetDefaultLensPresetName ( const FString InDefaultLensPresetName)

Internal Blueprint Setter functions that call SaveConfig after setting the variable to ensure settings persist.

◆ SetFilmbackPresets()

void SetFilmbackPresets ( TArray< FNamedFilmbackPreset > InFilmbackPresets)

◆ SetLensPresets()

void SetLensPresets ( TArray< FNamedLensPreset > InLensPresets)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ CineCameraSettings

const UCineCameraSettings CineCameraSettings
static

◆ CropPresets

List of available crop presets.

◆ DefaultCropPresetName

FString DefaultCropPresetName

Name of the default crop preset.

◆ DefaultFilmbackPreset

FString DefaultFilmbackPreset

Name of the default filmback preset.

◆ DefaultLensFocalLength

float32 DefaultLensFocalLength

Default focal length (will be constrained by default lens).

◆ DefaultLensFStop

float32 DefaultLensFStop

Default aperture (will be constrained by default lens).

◆ DefaultLensPresetName

FString DefaultLensPresetName

Name of the default lens preset.

◆ FilmbackPresets

TArray<FNamedFilmbackPreset> FilmbackPresets

List of available filmback presets.

◆ LensPresets

TArray<FNamedLensPreset> LensPresets

List of available lens presets.