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

Public Member Functions

Functions
AConversationCameraV2 GetOuterCamera () const
 Iterates through outer objects to find Conversation Camera.
FLinearColor GetColorDifferenceScore (FLinearColor ExternalLight, FLinearColor CompareLight) const
 Returns difference between 2 colors.
FClockTime GetCurrentSkyTime () const
 Returns visual time of ultra dynamic sky.
FClockTime GetDayTimeEnd () const
 Override this to return end daytime for daytime modifiers.
FClockTime GetDayTimeStart () const
 Override this to return start daytime for daytime modifiers.
float32 GetEnvironmentLightingScore (AGothicCharacter Participant) const
 Returns are score representing the Environment light intensity in direction of the camera.
FLinearColor GetExternalLightingColor (AGothicCharacter Participant) const
 Returns a color as vector of the average light shining on the given character.
FString GetFirstConversationTopicName () const
 Returns Name of the first Conversation Topic in the current Conversation.
float32 GetLightingScore (AActor Participant) const
 Returns are score representing the light intensity on the given character.
bool GetCameraShotMode (EConversationCameraShotMode &OutShotMode) const
 Tries to set given Shot mode equal the Conversation Cameras shot mode Returns true if successful.
int GetParticipantAmount () const
 Returns Number of Conversation Participants.
int GetParticipantSkinTone (AGothicCharacter Participant) const
 Returns Participants skin tone as an index.
bool IsApplicable (AGothicCharacter Participant, TArray< AGothicCharacter > AllParticipants) const
 Override this with conditions.
bool IsParticipantInside (AGothicCharacter Participant) const
 Returns true if given participant is outside (not in a building).
bool ParticipantIsInShadow (AGothicCharacter Participant) const
 Returns true if participant is in shadow.
bool ParticipantIsListener (AActor Participant) const
 Returns true of given participant is current listener.
bool ParticipantIsSpeaker (AActor Participant) const
 Returns true of given participant is current speaker.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

LightingModifier
float32 TypePriority
 Priority of this modifier to compare to other possible modifiers of its type.
FSingleLightModifier RimLight
FSingleLightModifier KeyReverseLight
FSingleLightModifier RimReverseLight
FSingleLightModifier AdditionalLight
 1 Modifier applies to all Additional Lights
TSoftObjectPtr< UMaterialParameterCollection > SkyMaterialParameterCollectionAsset
TArray< FLightValues > AdditionalLightValues
 Array with light Values, Additional Lights will be spawned based on the values put in here Not to be confused with the Modifier.
ELightingModifierType ModifierType
float32 DiffuseColorBoost
float32 MaxTraceDistance
float32 EyeIntensityFinetuneFactor
 Value to multiply to calculated eye intensity to adjust for specific modifiers.
FSingleLightModifier KeyLight
float32 GeneralPriority
 Priority for values like DiffuseColorBoost that not only apply to specific lights Those can be overwritten by modifiers of different types.
FName SkyMaterialParameterCollectionParam_LightIntensity
 Sky Material Names.
FName SkyMaterialParameterCollectionParam_LightPosition
FName SkyMaterialParameterCollectionParam_LightDirection
Variables
const FClockTime DayTimeEnd
 Override this to return end daytime for daytime modifiers.
const FClockTime DayTimeStart
 Override this to return start daytime for daytime modifiers.
const FString FirstConversationTopicName
 Returns Name of the first Conversation Topic in the current Conversation.
const AConversationCameraV2 OuterCamera
 Iterates through outer objects to find Conversation Camera.
const int ParticipantAmount
 Returns Number of Conversation Participants.
const FClockTime CurrentSkyTime
 Returns visual time of ultra dynamic sky.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Member Function Documentation

◆ GetCameraShotMode()

bool GetCameraShotMode ( EConversationCameraShotMode & OutShotMode) const

Tries to set given Shot mode equal the Conversation Cameras shot mode Returns true if successful.

◆ GetColorDifferenceScore()

FLinearColor GetColorDifferenceScore ( FLinearColor ExternalLight,
FLinearColor CompareLight ) const

Returns difference between 2 colors.

◆ GetCurrentSkyTime()

FClockTime GetCurrentSkyTime ( ) const

Returns visual time of ultra dynamic sky.

◆ GetDayTimeEnd()

FClockTime GetDayTimeEnd ( ) const

Override this to return end daytime for daytime modifiers.

◆ GetDayTimeStart()

FClockTime GetDayTimeStart ( ) const

Override this to return start daytime for daytime modifiers.

◆ GetEnvironmentLightingScore()

float32 GetEnvironmentLightingScore ( AGothicCharacter Participant) const

Returns are score representing the Environment light intensity in direction of the camera.

◆ GetExternalLightingColor()

FLinearColor GetExternalLightingColor ( AGothicCharacter Participant) const

Returns a color as vector of the average light shining on the given character.

◆ GetFirstConversationTopicName()

FString GetFirstConversationTopicName ( ) const

Returns Name of the first Conversation Topic in the current Conversation.

◆ GetLightingScore()

float32 GetLightingScore ( AActor Participant) const

Returns are score representing the light intensity on the given character.

◆ GetOuterCamera()

AConversationCameraV2 GetOuterCamera ( ) const

Iterates through outer objects to find Conversation Camera.

◆ GetParticipantAmount()

int GetParticipantAmount ( ) const

Returns Number of Conversation Participants.

◆ GetParticipantSkinTone()

int GetParticipantSkinTone ( AGothicCharacter Participant) const

Returns Participants skin tone as an index.

◆ IsApplicable()

bool IsApplicable ( AGothicCharacter Participant,
TArray< AGothicCharacter > AllParticipants ) const

Override this with conditions.

◆ IsParticipantInside()

bool IsParticipantInside ( AGothicCharacter Participant) const

Returns true if given participant is outside (not in a building).

◆ ParticipantIsInShadow()

bool ParticipantIsInShadow ( AGothicCharacter Participant) const

Returns true if participant is in shadow.

◆ ParticipantIsListener()

bool ParticipantIsListener ( AActor Participant) const

Returns true of given participant is current listener.

◆ ParticipantIsSpeaker()

bool ParticipantIsSpeaker ( AActor Participant) const

Returns true of given participant is current speaker.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AdditionalLight

FSingleLightModifier AdditionalLight

1 Modifier applies to all Additional Lights

◆ AdditionalLightValues

TArray<FLightValues> AdditionalLightValues

Array with light Values, Additional Lights will be spawned based on the values put in here Not to be confused with the Modifier.

◆ CurrentSkyTime

const FClockTime CurrentSkyTime

Returns visual time of ultra dynamic sky.

◆ DayTimeEnd

const FClockTime DayTimeEnd

Override this to return end daytime for daytime modifiers.

◆ DayTimeStart

const FClockTime DayTimeStart

Override this to return start daytime for daytime modifiers.

◆ DiffuseColorBoost

float32 DiffuseColorBoost

◆ EyeIntensityFinetuneFactor

float32 EyeIntensityFinetuneFactor

Value to multiply to calculated eye intensity to adjust for specific modifiers.

◆ FirstConversationTopicName

const FString FirstConversationTopicName

Returns Name of the first Conversation Topic in the current Conversation.

◆ GeneralPriority

float32 GeneralPriority

Priority for values like DiffuseColorBoost that not only apply to specific lights Those can be overwritten by modifiers of different types.

◆ KeyLight

◆ KeyReverseLight

FSingleLightModifier KeyReverseLight

◆ MaxTraceDistance

float32 MaxTraceDistance

◆ ModifierType

ELightingModifierType ModifierType

◆ OuterCamera

const AConversationCameraV2 OuterCamera

Iterates through outer objects to find Conversation Camera.

◆ ParticipantAmount

const int ParticipantAmount

Returns Number of Conversation Participants.

◆ RimLight

◆ RimReverseLight

FSingleLightModifier RimReverseLight

◆ SkyMaterialParameterCollectionAsset

TSoftObjectPtr<UMaterialParameterCollection> SkyMaterialParameterCollectionAsset

◆ SkyMaterialParameterCollectionParam_LightDirection

FName SkyMaterialParameterCollectionParam_LightDirection

◆ SkyMaterialParameterCollectionParam_LightIntensity

FName SkyMaterialParameterCollectionParam_LightIntensity

Sky Material Names.

◆ SkyMaterialParameterCollectionParam_LightPosition

FName SkyMaterialParameterCollectionParam_LightPosition

◆ TypePriority

float32 TypePriority

Priority of this modifier to compare to other possible modifiers of its type.