Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceConstant.h |
Include |
#include "Materials/MaterialInstanceConstant.h" |
class UMaterialInstanceConstant : public UMaterialInstance
Material Instances may be used to change the appearance of a material without incurring an expensive recompilation of the material. General modification of the material cannot be supported without recompilation, so the instances are limited to changing the values of predefined material parameters. The parameters are statically defined in the compiled material by a unique name, type and default value.
Name | Description | ||
---|---|---|---|
|
ParameterStateId |
Unique ID for this material instance's parameter set Updated on changes in the editor to allow those changes to be detected |
|
|
TObjectPtr< cla... |
PhysMaterialMask |
Physical material mask to use for this graphics material. Used for sounds, effects etc. |
Name | Description | |
---|---|---|
|
UMaterialInstanceConstant ( |
Name | Description | ||
---|---|---|---|
|
ClearParameterValuesEditorOnly() |
Clear all parameter overrides on this material instance. |
|
|
CopyMaterialUniformParametersEditorOnly ( |
Copies the uniform parameters (scalar, vector and texture) from a material or instance hierarchy. |
|
|
float |
K2_GetScalarParameterValue ( |
Get the scalar (float) parameter value from an MIC |
|
UTexture ... |
K2_GetTextureParameterValue ( |
Get the MIC texture parameter value |
|
K2_GetVectorParameterValue ( |
Get the MIC vector parameter value |
|
|
SetFontParameterValueEditorOnly ( |
||
|
SetParentEditorOnly ( |
Set the parent of this material instance. |
|
|
SetRuntimeVirtualTextureParameterValueEditorOnly ( |
||
|
SetScalarParameterAtlasEditorOnly ( |
||
|
SetScalarParameterValueEditorOnly ( |
||
|
SetTextureParameterValueEditorOnly ( |
||
|
SetVectorParameterValueEditorOnly ( |
Set the value parameters. |
Name | Description | ||
---|---|---|---|
|
UpdateCachedData() |
Name | Description | ||
---|---|---|---|
|
UPhysicalMat... |
GetPhysicalMaterialMask() |
Return a pointer to the physical material mask used by this material instance. |
Name | Description | ||
---|---|---|---|
|
FinishDestroy() |
Called to finish destroying the object. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |