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

A Material Function is a collection of material expressions that can be reused in different materials. More...

Public Member Functions

Functions
void SetbPrefixParameterNames (bool Value)
 If true, parameters in this function will have a prefix added to their group name.
void SetbEnableExecWire (bool Value)
void SetbEnableNewHLSLGenerator (bool Value)
void SetbExposeToLibrary (bool Value)
 Whether to list this function in the material function library, which is a window in the material editor that lists categorized functions.
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 UMaterialFunctionInterface
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

MaterialFunction
FString UserExposedCaption
 Name of the function to be displayed on the node within the material editor instead of the asset name.
TArray< FText > LibraryCategoriesText
 Categories that this function belongs to in the material function library. Ideally categories should be chosen carefully so that there are not too many.
FString Description
 Description of the function which will be displayed as a tooltip wherever the function is used.
Preview
EBlendMode PreviewBlendMode
 Determines the blend mode when previewing a material function.
Public Attributes inherited from UMaterialFunctionInterface
UThumbnailInfo ThumbnailInfo
 Information for thumbnail rendering.
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

A Material Function is a collection of material expressions that can be reused in different materials.

Member Function Documentation

◆ SetbEnableExecWire()

void SetbEnableExecWire ( bool Value)

◆ SetbEnableNewHLSLGenerator()

void SetbEnableNewHLSLGenerator ( bool Value)

◆ SetbExposeToLibrary()

void SetbExposeToLibrary ( bool Value)

Whether to list this function in the material function library, which is a window in the material editor that lists categorized functions.

◆ SetbPrefixParameterNames()

void SetbPrefixParameterNames ( bool Value)

If true, parameters in this function will have a prefix added to their group name.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ Description

FString Description

Description of the function which will be displayed as a tooltip wherever the function is used.

◆ LibraryCategoriesText

TArray<FText> LibraryCategoriesText

Categories that this function belongs to in the material function library. Ideally categories should be chosen carefully so that there are not too many.

◆ PreviewBlendMode

EBlendMode PreviewBlendMode

Determines the blend mode when previewing a material function.

◆ UserExposedCaption

FString UserExposedCaption

Name of the function to be displayed on the node within the material editor instead of the asset name.