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

Public Member Functions

Functions
void SetbOverrideSubsurfaceProfile (bool Value)
 Defines if SubsurfaceProfile from this instance is used or it uses the parent one.
bool GetbOverrideSubsurfaceProfile () const
 Defines if SubsurfaceProfile from this instance is used or it uses the parent one.
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.
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
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 UMaterialInterface
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

MaterialInstance
TArray< FDoubleVectorParameterValue > DoubleVectorParameterValues
 DoubleVector parameters.
TArray< FTextureParameterValue > TextureParameterValues
 Texture parameters.
UMaterialInterface Parent
 Parent material.
FMaterialOverrideNanite NaniteOverrideMaterial
 An override material which will be used instead of this one when rendering with Nanite.
TArray< FScalarParameterValue > ScalarParameterValues
 Scalar parameters.
TArray< FVectorParameterValue > VectorParameterValues
 Vector parameters.
UPhysicalMaterial PhysMaterial
 Physical material to use for this graphics material. Used for sounds, effects etc.
TArray< FRuntimeVirtualTextureParameterValue > RuntimeVirtualTextureParameterValues
 RuntimeVirtualTexture parameters.
TArray< FSparseVolumeTextureParameterValue > SparseVolumeTextureParameterValues
 Sparse Volume Texture parameters.
TArray< FFontParameterValue > FontParameterValues
 Font parameters.
FMaterialInstanceBasePropertyOverrides BasePropertyOverrides
bool bOverrideSubsurfaceProfile
 Defines if SubsurfaceProfile from this instance is used or it uses the parent one.
PhysicalMaterialMask
UPhysicalMaterial PhysicalMaterialMap
 Physical material map used with physical material mask, when it exists.
Public Attributes inherited from UMaterialInterface
UAssetImportData AssetImportData
 Importing data and options used for this material.
FLightmassMaterialInterfaceSettings LightmassSettings
 The Lightmass settings for this object.
USubsurfaceProfile SubsurfaceProfile
 SubsurfaceProfile, for Screen Space Subsurface Scattering..
TArray< TObjectPtr< UAssetUserData > > AssetUserData
 Array of user data stored with the asset.
UNeuralProfile NeuralProfile
 Neural network profile. For internal usage, not editable/visible.
FSoftObjectPath PreviewMesh
 The mesh used by the material editor to preview the material.
UThumbnailInfo ThumbnailInfo
 Information for thumbnail rendering.
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.
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().
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

◆ GetbOverrideSubsurfaceProfile()

bool GetbOverrideSubsurfaceProfile ( ) const

Defines if SubsurfaceProfile from this instance is used or it uses the parent one.

◆ SetbOverrideSubsurfaceProfile()

void SetbOverrideSubsurfaceProfile ( bool Value)

Defines if SubsurfaceProfile from this instance is used or it uses the parent one.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ BasePropertyOverrides

◆ bOverrideSubsurfaceProfile

bool bOverrideSubsurfaceProfile

Defines if SubsurfaceProfile from this instance is used or it uses the parent one.

◆ DoubleVectorParameterValues

TArray<FDoubleVectorParameterValue> DoubleVectorParameterValues

DoubleVector parameters.

◆ FontParameterValues

TArray<FFontParameterValue> FontParameterValues

Font parameters.

◆ NaniteOverrideMaterial

FMaterialOverrideNanite NaniteOverrideMaterial

An override material which will be used instead of this one when rendering with Nanite.

◆ Parent

Parent material.

◆ PhysicalMaterialMap

UPhysicalMaterial PhysicalMaterialMap

Physical material map used with physical material mask, when it exists.

◆ PhysMaterial

UPhysicalMaterial PhysMaterial

Physical material to use for this graphics material. Used for sounds, effects etc.

◆ RuntimeVirtualTextureParameterValues

TArray<FRuntimeVirtualTextureParameterValue> RuntimeVirtualTextureParameterValues

RuntimeVirtualTexture parameters.

◆ ScalarParameterValues

TArray<FScalarParameterValue> ScalarParameterValues

Scalar parameters.

◆ SparseVolumeTextureParameterValues

TArray<FSparseVolumeTextureParameterValue> SparseVolumeTextureParameterValues

Sparse Volume Texture parameters.

◆ TextureParameterValues

TArray<FTextureParameterValue> TextureParameterValues

Texture parameters.

◆ VectorParameterValues

TArray<FVectorParameterValue> VectorParameterValues

Vector parameters.