Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h |
Include |
#include "Materials/MaterialInterface.h" |
class UMaterialInterface :
public UObject,
public IBlendableInterface,
public IInterface_AssetUserData
Name | Description | ||
---|---|---|---|
|
AssetImportData |
Importing data and options used for this material |
|
|
AssetUserData |
Array of user data stored with the asset |
|
|
bTextureStreamingDataSorted |
Because of redirector, the texture names need to be resorted at each load in case they changed. |
|
|
LayerParameterExpansion |
||
|
LightmassSettings |
The Lightmass settings for this object. |
|
|
ParameterOverviewExpansion |
||
|
ParentRefFence |
A fence to track when the primitive is no longer used as a parent |
|
|
PreviewMesh |
The mesh used by the material editor to preview the material. |
|
|
SubsurfaceProfile |
SubsurfaceProfile, for Screen Space Subsurface Scattering |
|
|
TextureStreamingData |
Data used by the texture streaming to know how each texture is sampled by the material. |
|
|
TextureStreamingDataMissingEntries |
List of all used but missing texture indices in TextureStreamingData. |
|
|
TextureStreamingDataVersion |
||
|
UThumbnailInfo ... |
ThumbnailInfo |
Information for thumbnail rendering |
Name | Description | |
---|---|---|
|
UMaterialInterface ( |
Name | Description | ||
---|---|---|---|
|
AnalyzeMaterialProperty ( |
Return number of used texture coordinates and whether or not the Vertex data is used in the shader graph |
|
|
AssertDefaultMaterialsExist() |
Asserts if any default material does not exist. |
|
|
AssertDefaultMaterialsPostLoaded() |
Asserts if any default material has not been post-loaded. |
|
|
CastsRayTracedShadows() |
||
|
CheckMaterialUsage ( |
Checks if the material can be used with the given usage flag. |
|
|
CheckMaterialUsage_Concurrent ( |
Same as above but is valid to call from any thread. |
|
|
CompileProperty ( |
Compiles a material property. |
|
|
CompilePropertyEx ( |
Allows material properties to be compiled with the option of being overridden by the material attributes input. |
|
|
FindTextureStreamingDataIndexRange |
Find entries within TextureStreamingData that match the given name. |
|
|
ForceRecompileForRendering() |
Clears the shader cache and recompiles the shader for rendering. |
|
|
GetAllFontParameterInfo ( |
||
|
GetAllMaterialLayersParameterInfo ( |
||
|
GetAllRuntimeVirtualTextureParameterInfo ( |
||
|
GetAllScalarParameterInfo ( |
||
|
GetAllStaticComponentMaskParameterInfo ( |
||
|
GetAllStaticSwitchParameterInfo ( |
||
|
GetAllTextureParameterInfo ( |
||
|
GetAllVectorParameterInfo ( |
||
|
UMaterial &#... |
GetBaseMaterial() |
Walks up parent chain and finds the base Material that this is an instance of. |
|
GetBlendMode() |
||
|
GetCastDynamicShadowAsMasked() |
||
|
GetCastShadowAsMasked() |
||
|
GetDependentFunctions ( |
||
|
float |
GetDiffuseBoost() |
|
|
float |
GetEmissiveBoost() |
|
|
float |
GetExportResolutionScale() |
|
|
GetFeatureLevelsToCompileForAllMaterials() |
Get bitfield indicating which feature levels should be compiled by default |
|
|
GetFeatureLevelsToCompileForRendering() |
Returns a bitfield indicating which feature levels should be compiled for rendering. |
|
|
GetFontParameterDefaultValue ( |
||
|
GetFontParameterValue ( |
||
|
GetGroupName ( |
||
|
GetGroupSortPriority |
Get the sort priority index of the given parameter group |
|
|
GetHeight() |
||
|
GetLayerParameterIndex ( |
||
|
const FGuid ... |
GetLightingGuid() |
|
|
GetLightingGuidChain |
Returns all the Guids related to this material. |
|
|
GetLinearColorCurveParameterValue ( |
||
|
GetLinearColorParameterValue ( |
||
|
const UMater... |
GetMaterial() |
Get the material which we are instancing. |
|
UMaterial &#... |
GetMaterial() |
Get the material which we are instancing. |
|
const UMater... |
GetMaterial_Concurrent ( |
Same as above, but can be called concurrently |
|
GetMaterialLayersParameterValue ( |
Get the value of the given static material layers parameter |
|
|
FMaterialRes... |
GetMaterialResource ( |
Get the static permutation resource if the instance has one |
|
const FMater... |
GetMaterialResource ( |
Get the static permutation resource if the instance has one |
|
float |
GetOpacityMaskClipValue() |
Access to overridable properties of the base material. |
|
GetOverrideCastShadowAsMasked() |
||
|
GetOverrideDiffuseBoost() |
||
|
GetOverrideEmissiveBoost() |
||
|
GetOverrideExportResolutionScale() |
||
|
GetParameterDesc ( |
||
|
FMaterialPar... |
GetParameterInfo ( |
|
|
GetParameterSortPriority ( |
Get the sort priority index of the given parameter |
|
|
UPhysicalMat... |
GetPhysicalMaterial() |
Return a pointer to the physical material used by this material instance. |
|
UPhysicalMat... |
GetPhysicalMaterialFromMap ( |
Return a pointer to the physical material from mask map at given index. |
|
UPhysicalMat... |
GetPhysicalMaterialMask() |
Return a pointer to the physical material mask used by this material instance. |
|
TArrayView< ... |
GetReferencedTextures() |
Get textures referenced by expressions, including nested functions. |
|
GetReferencedTexturesAndOverrides |
Add to the set any texture referenced by expressions, including nested functions, as well as any overrides from parameters. |
|
|
GetRefractionSettings ( |
||
|
FMaterialRel... |
GetRelevance ( |
|
|
FMaterialRel... |
GetRelevance_Concurrent ( |
|
|
FMaterialRen... |
GetRenderProxy() |
Return a pointer to the FMaterialRenderProxy used for rendering. |
|
GetRuntimeVirtualTextureParameterDefaultValue ( |
||
|
GetRuntimeVirtualTextureParameterValue ( |
||
|
UEnum * |
GetSamplerTypeEnum() |
Access the cached uenum type information for material sampler type |
|
GetScalarCurveParameterValue ( |
||
|
GetScalarParameterDefaultValue ( |
||
|
GetScalarParameterSliderMinMax ( |
||
|
GetScalarParameterValue ( |
||
|
FMaterialSha... |
GetShadingModels() |
|
|
GetStaticComponentMaskParameterDefaultValue |
||
|
GetStaticComponentMaskParameterValue |
Get the value of the given static component mask parameter |
|
|
GetStaticSwitchParameterDefaultValue ( |
||
|
GetStaticSwitchParameterValue ( |
Get the value of the given static switch parameter |
|
|
USubsurfaceP... |
GetSubsurfaceProfile_Internal() |
|
|
GetTerrainLayerWeightParameterValue ( |
Get the weightmap index of the given terrain layer weight parameter |
|
|
float |
GetTextureDensity ( |
Returns the density of a texture in (LocalSpace Unit / Texture). |
|
GetTextureParameterChannelNames ( |
||
|
GetTextureParameterDefaultValue ( |
||
|
GetTextureParameterValue ( |
||
|
GetTexturesInPropertyChain ( |
Get all of the textures in the expression chain for the given property (ie fill in the given array with all textures in the chain). |
|
|
const TArray... |
GetTextureStreamingData() |
Accessor to the data. |
|
GetTextureStreamingData() |
||
|
GetUsedTextures ( |
Return the textures used to render this material. |
|
|
GetUsedTexturesAndIndices ( |
Return the textures used to render this material and the material indices bound to each. |
|
|
GetVectorCurveParameterValue ( |
||
|
GetVectorParameterChannelNames ( |
||
|
GetVectorParameterDefaultValue ( |
||
|
GetVectorParameterValue ( |
||
|
GetWidth() |
||
|
HasTextureStreamingData() |
Returns whether there is any streaming data in the component. |
|
|
InitDefaultMaterials() |
Initializes all default materials. |
|
|
IsDeferredDecal() |
||
|
IsDependent ( |
Test this material for dependency on a given material. |
|
|
IsDependent_Concurrent ( |
Same as above, but can be called concurrently |
|
|
IsDitheredLODTransition() |
||
|
IsMasked() |
||
|
IsPropertyActive ( |
Checks to see if an input property should be active, based on the state of the material |
|
|
IsScalarParameterUsedAsAtlasPosition ( |
||
|
IsShadingModelFromMaterialExpression() |
||
|
IsTextureReferencedByProperty ( |
Checks to see if the given property references the texture |
|
|
IsTranslucencyWritingCustomDepth() |
||
|
IsTranslucencyWritingVelocity() |
||
|
IsTwoSided() |
||
|
IsVectorParameterUsedAsChannelMask ( |
||
|
IterateDependentFunctions ( |
||
|
IterateOverActiveFeatureLevels ( |
Iterate over all feature levels currently marked as active |
|
|
LogMaterialsAndTextures ( |
Output to the log which materials and textures are used by this material. |
|
|
OverrideScalarParameterDefault ( |
||
|
OverrideTexture ( |
Override a specific texture (transient) |
|
|
OverrideVectorParameterDefault ( |
Overrides the default value of the given parameter (transient). |
|
|
RecacheAllMaterialUniformExpressions ( |
Re-caches uniform expressions for all material interfaces Set bRecreateUniformBuffer to true if uniform buffer layout will change (e.g. FMaterial is being recompiled). |
|
|
RecacheUniformExpressions ( |
Re-caches uniform expressions for this material interface Set bRecreateUniformBuffer to true if uniform buffer layout will change (e.g. FMaterial is being recompiled). |
|
|
SaveShaderStableKeysInner ( |
||
|
SetCastShadowAsMasked ( |
||
|
SetDiffuseBoost ( |
||
|
SetEmissiveBoost ( |
||
|
SetExportResolutionScale ( |
||
|
SetFeatureLevelToCompile ( |
Set which feature levels this material instance should compile. |
|
|
SetForceMipLevelsToBeResident |
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. |
|
|
SetGlobalRequiredFeatureLevel ( |
Set which feature levels all materials should compile to. GMaxRHIFeatureLevel is always compiled. |
|
|
SetLightingGuid() |
||
|
SetOverrideCastShadowAsMasked ( |
||
|
SetOverrideDiffuseBoost ( |
||
|
SetOverrideEmissiveBoost ( |
||
|
SetOverrideExportResolutionScale ( |
||
|
SetShouldForcePlanePreview ( |
Set whether or not this Material Interface should force a plane preview |
|
|
SetTextureStreamingData ( |
Set new texture streaming data. |
|
|
ShouldForcePlanePreview() |
True if this Material Interface should force a plane preview |
|
|
SortTextureStreamingData |
Sort the texture streaming data by names to accelerate search. Only sorts if required. |
|
|
UpdateLightmassTextureTracking() |
Check if the textures have changed since the last time the material was serialized for Lightmass... |
|
|
UpdateMaterialRenderProxy ( |
||
|
UseAnyStreamingTexture() |
Return whether this material refer to any streaming textures. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
|
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
|
PostCDOContruct() |
Called after the C++ constructor has run on the CDO for a class. |
|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreSave ( |
Presave function. |
Name | Description | ||
---|---|---|---|
|
OverrideBlendableSettings ( |
Name | Description | ||
---|---|---|---|
|
AddAssetUserData ( |
||
|
UAssetUserDa... |
GetAssetUserDataOfClass ( |
|
|
RemoveUserDataOfClass ( |
Name |
Description |
---|---|
FeatureLevelsForAllMaterials |
Feature level bitfield to compile for all materials |
SamplerTypeEnum |
Cached type information for the sampler type enumeration. |
Name | Description | ||
---|---|---|---|
|
float |
GetScalarParameterDefault ( |
This function is deprecated. Use GetScalarParameterDefaultValue instead. |