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

Asset class that contains a list of parameter names and their default values. Any number of materials can reference these parameters and get new values when the parameter values are changed. More...

Static Public Member Functions

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

Public Attributes

Material
TArray< FCollectionVectorParameter > VectorParameters
TArray< FCollectionScalarParameter > ScalarParameters
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

Rendering|Material

const TArray< FName > VectorParameterNames
 Returns an array of the names of all the vector parameters in this Material Parameter Collection *.
const TArray< FName > ScalarParameterNames
 Returns an array of the names of all the scalar parameters in this Material Parameter Collection *.
TArray< FName > GetScalarParameterNames () const
 Returns an array of the names of all the scalar parameters in this Material Parameter Collection *.
FLinearColor GetVectorParameterDefaultValue (FName ParameterName, bool &bParameterFound) const
 Gets the default value of a scalar parameter from a material collection.
TArray< FName > GetVectorParameterNames () const
 Returns an array of the names of all the vector parameters in this Material Parameter Collection *.
float32 GetScalarParameterDefaultValue (FName ParameterName, bool &bParameterFound) const
 Gets the default value of a scalar parameter from a material collection.

Additional Inherited Members

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

Detailed Description

Asset class that contains a list of parameter names and their default values. Any number of materials can reference these parameters and get new values when the parameter values are changed.

Member Function Documentation

◆ GetScalarParameterDefaultValue()

float32 GetScalarParameterDefaultValue ( FName ParameterName,
bool & bParameterFound ) const

Gets the default value of a scalar parameter from a material collection.

Parameters
ParameterNameThe name of the value to get the value of
bParameterFoundif a parameter with the input name was found
Returns
the value of the parameter

◆ GetScalarParameterNames()

TArray< FName > GetScalarParameterNames ( ) const

Returns an array of the names of all the scalar parameters in this Material Parameter Collection *.

◆ GetVectorParameterDefaultValue()

FLinearColor GetVectorParameterDefaultValue ( FName ParameterName,
bool & bParameterFound ) const

Gets the default value of a scalar parameter from a material collection.

Parameters
ParameterNameThe name of the value to get the value of
bParameterFoundif a parameter with the input name was found
Returns
the value of the parameter

◆ GetVectorParameterNames()

TArray< FName > GetVectorParameterNames ( ) const

Returns an array of the names of all the vector parameters in this Material Parameter Collection *.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ ScalarParameterNames

const TArray<FName> ScalarParameterNames

Returns an array of the names of all the scalar parameters in this Material Parameter Collection *.

◆ ScalarParameters

◆ VectorParameterNames

const TArray<FName> VectorParameterNames

Returns an array of the names of all the vector parameters in this Material Parameter Collection *.

◆ VectorParameters