Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h |
Include |
#include "Materials/MaterialInstanceDynamic.h" |
class UMaterialInstanceDynamic : public UMaterialInstance
Name | Description | ||
---|---|---|---|
|
RenamedTextures |
In order to remap to the correct texture streaming data, we must keep track of each texture renamed. |
Name | Description | |
---|---|---|
|
UMaterialInstanceDynamic ( |
Name | Description | ||
---|---|---|---|
|
ClearParameterValues() |
Remove all parameter values |
|
|
CopyInterpParameters ( |
Copies over parameters given a material instance (only copy from the instance, not following the hierarchy) much faster than K2_CopyMaterialInstanceParameters(), The output is the object itself (this). |
|
|
CopyMaterialUniformParameters ( |
Copies the uniform parameters (scalar, vector and texture) from a material or instance hierarchy. |
|
|
CopyParameterOverrides ( |
Copy parameter values from another material instance. |
|
|
CopyScalarAndVectorParameters ( |
Copy all interpolatable (scalar/vector) parameters from *SourceMaterialToCopyFrom to *this, using the current QualityLevel and given FeatureLevel For runtime use. |
|
|
UMaterialIns... |
Create ( |
Create a material instance dynamic parented to the specified material. |
|
UMaterialIns... |
Create ( |
Create a material instance dynamic parented to the specified material with the specified name. |
|
InitializeScalarParameterAndGetIndex |
Use this function to set an initial value and fetch the index for use in the following function. |
|
|
InitializeVectorParameterAndGetIndex ( |
Use this function to set an initial value and fetch the index for use in the following function. |
|
|
K2_CopyMaterialInstanceParameters ( |
Copies over parameters given a material interface (copy each instance following the hierarchy) Very slow implementation, avoid using at runtime. |
|
|
float |
K2_GetScalarParameterValue ( |
Get the current scalar (float) parameter value from an MID |
|
float |
K2_GetScalarParameterValueByInfo ( |
Get the current scalar (float) parameter value from an MID, using MPI (to allow access to layer parameters) |
|
UTexture ... |
K2_GetTextureParameterValue ( |
Get the current MID texture parameter value |
|
UTexture ... |
K2_GetTextureParameterValueByInfo ( |
Get the current MID texture parameter value, using MPI (to allow access to layer parameters) |
|
K2_GetVectorParameterValue ( |
Get the current MID vector parameter value |
|
|
K2_GetVectorParameterValueByInfo ( |
Get the current MID vector parameter value, using MPI (to allow access to layer parameters) |
|
|
K2_InterpolateMaterialInstanceParams ( |
Interpolates the scalar and vector parameters of this material instance based on two other material instances, and an alpha blending factor The output is the object itself (this). |
|
|
SetDoubleVectorParameterValue |
Set an MID vector parameter value |
|
|
SetFontParameterValue ( |
Set the value of the given font parameter. |
|
|
SetRuntimeVirtualTextureParameterValue ( |
Set an MID texture parameter value |
|
|
SetRuntimeVirtualTextureParameterValueByInfo ( |
Set an MID texture parameter value using MPI (to allow access to layer parameters) |
|
|
SetScalarParameterByIndex ( |
Use the cached value of OutParameterIndex above to set the scalar parameter ONLY on the exact same MID. |
|
|
SetScalarParameterValue ( |
Set a MID scalar (float) parameter value |
|
|
SetScalarParameterValueByInfo ( |
Set a MID scalar (float) parameter value using MPI (to allow access to layer parameters) |
|
|
SetTextureParameterValue |
Set an MID texture parameter value |
|
|
SetTextureParameterValueByInfo ( |
Set an MID texture parameter value using MPI (to allow access to layer parameters) |
|
|
SetVectorParameterByIndex ( |
Use the cached value of OutParameterIndex above to set the vector parameter ONLY on the exact same MID. |
|
|
SetVectorParameterValue ( |
Set an MID vector parameter value |
|
|
SetVectorParameterValueByInfo ( |
Set an MID vector parameter value, using MPI (to allow access to layer parameters) |
Name | Description | ||
---|---|---|---|
|
HasOverridenBaseProperties() |
||
|
UpdateCachedData() |
Name | Description | ||
---|---|---|---|
|
GetBlendMode() |
||
|
GetCastDynamicShadowAsMasked() |
||
|
float |
GetOpacityMaskClipValue() |
Material base property overrides. MIDs cannot override these so they just grab from their parent. |
|
FMaterialSha... |
GetShadingModels() |
|
|
float |
GetTextureDensity ( |
This overrides does the remapping before looking at the parent data. |
|
IsDitheredLODTransition() |
||
|
IsMasked() |
||
|
IsShadingModelFromMaterialExpression() |
||
|
IsTranslucencyWritingVelocity() |
||
|
IsTwoSided() |