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

Base class for building modifiers. More...

Public Member Functions

Modifier
FInputActionValue ModifyRaw (const UEnhancedPlayerInput PlayerInput, FInputActionValue CurrentValue, float32 DeltaTime)
 ModifyRaw Will be called by each modifier in the modifier chain.
FLinearColor GetVisualizationColor (FInputActionValue SampleValue, FInputActionValue FinalValue) const
 Helper to allow debug visualization of the modifier.
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 ()

Additional Inherited Members

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

Detailed Description

Base class for building modifiers.

Member Function Documentation

◆ GetVisualizationColor()

FLinearColor GetVisualizationColor ( FInputActionValue SampleValue,
FInputActionValue FinalValue ) const

Helper to allow debug visualization of the modifier.

Parameters
SampleValueThe base input action value pre-modification (ranging -1 -> 1 across all applicable axes).
FinalValueThe post-modification input action value for the provided SampleValue.

◆ ModifyRaw()

FInputActionValue ModifyRaw ( const UEnhancedPlayerInput PlayerInput,
FInputActionValue CurrentValue,
float32 DeltaTime )

ModifyRaw Will be called by each modifier in the modifier chain.

Parameters
CurrentValueThe modified value returned by the previous modifier in the chain, or the base raw value if this is the first modifier in the chain.

◆ StaticClass()

UClass StaticClass ( )
static