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

Static Public Member Functions

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

Public Attributes

ImportSettings
UAssetImportData AssetImportData
 Importing data and options used for this material.
Lightmass
FLightmassMaterialInterfaceSettings LightmassSettings
 The Lightmass settings for this object.
Material
USubsurfaceProfile SubsurfaceProfile
 SubsurfaceProfile, for Screen Space Subsurface Scattering..
TArray< TObjectPtr< UAssetUserData > > AssetUserData
 Array of user data stored with the asset.
PostProcessMaterial
UNeuralProfile NeuralProfile
 Neural network profile. For internal usage, not editable/visible.
Previewing
FSoftObjectPath PreviewMesh
 The mesh used by the material editor to preview the material.
Thumbnail
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

Physics|Material

const UPhysicalMaterialMask PhysicalMaterialMask
 Return a pointer to the physical material mask used by this material instance.
const UPhysicalMaterial PhysicalMaterial
 Return a pointer to the physical material used by this material instance.
UPhysicalMaterial GetPhysicalMaterial () const
 Return a pointer to the physical material used by this material instance.
UPhysicalMaterial GetPhysicalMaterialFromMap (int Index) const
 Return a pointer to the physical material from mask map at given index.
UPhysicalMaterialMask GetPhysicalMaterialMask () const
 Return a pointer to the physical material mask used by this material instance.

Rendering|Material

const UMaterialInterface NaniteOverideMaterial
 Get the associated nanite override material.
const EBlendMode BlendMode
const UMaterial BaseMaterial
 Walks up parent chain and finds the base Material that this is an instance of. Just calls the virtual GetMaterial().
UMaterial GetBaseMaterial ()
 Walks up parent chain and finds the base Material that this is an instance of. Just calls the virtual GetMaterial().
FMaterialParameterInfo GetParameterInfo (EMaterialParameterAssociation Association, FName ParameterName, UMaterialFunctionInterface LayerFunction) const
UMaterialInterface GetNaniteOverideMaterial () const
 Get the associated nanite override material.
void SetForceMipLevelsToBeResident (bool OverrideForceMiplevelsToBeResident, bool bForceMiplevelsToBeResidentValue, float32 ForceDuration, int CinematicTextureGroups=0, bool bFastResponse=false)
 Force the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by this material.
EBlendMode GetBlendMode () const

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

Member Function Documentation

◆ GetBaseMaterial()

UMaterial GetBaseMaterial ( )

Walks up parent chain and finds the base Material that this is an instance of. Just calls the virtual GetMaterial().

◆ GetBlendMode()

EBlendMode GetBlendMode ( ) const

◆ GetNaniteOverideMaterial()

UMaterialInterface GetNaniteOverideMaterial ( ) const

Get the associated nanite override material.

◆ GetParameterInfo()

FMaterialParameterInfo GetParameterInfo ( EMaterialParameterAssociation Association,
FName ParameterName,
UMaterialFunctionInterface LayerFunction ) const

◆ GetPhysicalMaterial()

UPhysicalMaterial GetPhysicalMaterial ( ) const

Return a pointer to the physical material used by this material instance.

Returns
The physical material.

◆ GetPhysicalMaterialFromMap()

UPhysicalMaterial GetPhysicalMaterialFromMap ( int Index) const

Return a pointer to the physical material from mask map at given index.

Returns
The physical material.

◆ GetPhysicalMaterialMask()

UPhysicalMaterialMask GetPhysicalMaterialMask ( ) const

Return a pointer to the physical material mask used by this material instance.

Returns
The physical material.

◆ SetForceMipLevelsToBeResident()

void SetForceMipLevelsToBeResident ( bool OverrideForceMiplevelsToBeResident,
bool bForceMiplevelsToBeResidentValue,
float32 ForceDuration,
int CinematicTextureGroups = 0,
bool bFastResponse = false )

Force the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by this material.

Parameters
OverrideForceMiplevelsToBeResidentWhether to use (true) or ignore (false) the bForceMiplevelsToBeResidentValue parameter.
bForceMiplevelsToBeResidentValuetrue forces all mips to stream in. false lets other factors decide what to do with the mips.
ForceDurationNumber of seconds to keep all mip-levels in memory, disregarding the normal priority logic. Negative value turns it off.
CinematicTextureGroupsBitfield indicating texture groups that should use extra high-resolution mips
bFastResponseUSE WITH EXTREME CAUTION! Fast response textures incur sizable GT overhead and disturb streaming metric calculation. Avoid whenever possible.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AssetImportData

UAssetImportData AssetImportData

Importing data and options used for this material.

◆ AssetUserData

TArray<TObjectPtr<UAssetUserData> > AssetUserData

Array of user data stored with the asset.

◆ BaseMaterial

const UMaterial BaseMaterial

Walks up parent chain and finds the base Material that this is an instance of. Just calls the virtual GetMaterial().

◆ BlendMode

const EBlendMode BlendMode

◆ LightmassSettings

The Lightmass settings for this object.

◆ NaniteOverideMaterial

const UMaterialInterface NaniteOverideMaterial

Get the associated nanite override material.

◆ NeuralProfile

UNeuralProfile NeuralProfile

Neural network profile. For internal usage, not editable/visible.

◆ PhysicalMaterial

const UPhysicalMaterial PhysicalMaterial

Return a pointer to the physical material used by this material instance.

◆ PhysicalMaterialMask

const UPhysicalMaterialMask PhysicalMaterialMask

Return a pointer to the physical material mask used by this material instance.

◆ PreviewMesh

FSoftObjectPath PreviewMesh

The mesh used by the material editor to preview the material.

◆ SubsurfaceProfile

USubsurfaceProfile SubsurfaceProfile

SubsurfaceProfile, for Screen Space Subsurface Scattering..

◆ ThumbnailInfo

UThumbnailInfo ThumbnailInfo

Information for thumbnail rendering.