Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialFunctionInterface
- UMaterialFunctionInstance
- UMaterialFunctionMaterialLayerBlendInstance
- UMaterialFunctionMaterialLayerInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialFunctionInstance.h |
Include | #include "Materials/MaterialFunctionInstance.h" |
Syntax
class UMaterialFunctionInstance : public UMaterialFunctionInterface
Remarks
A material function instance defines parameter overrides for a parent material function.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< UMaterialFunctionInterface > | Base | Base function. |
![]() |
TArray< struct FDoubleVectorParameterValue > | DoubleVectorParameterValues | DoubleVector parameters. |
![]() |
TArray< struct FFontParameterValue > | FontParameterValues | Font parameters. |
![]() |
TObjectPtr< UMaterialFunctionInterface > | Parent | Parent function. |
![]() |
TObjectPtr< class UMaterialInstanceConstant > | PreviewMaterial | |
![]() |
TArray< struct FRuntimeVirtualTextureParameterValue > | RuntimeVirtualTextureParameterValues | Runtime virtual texture parameters. |
![]() |
TArray< struct FScalarParameterValue > | ScalarParameterValues | Scalar parameters. |
![]() |
TArray< struct FSparseVolumeTextureParameterValue > | SparseVolumeTextureParameterValues | Sparse volume texture parameters. |
![]() |
TArray< struct FStaticComponentMaskParameter > | StaticComponentMaskParameterValues | Static component mask parameters. |
![]() |
TArray< struct FStaticSwitchParameter > | StaticSwitchParameterValues | Static switch parameters. |
![]() |
TArray< struct FTextureParameterValue > | TextureParameterValues | Texture parameters. |
![]() |
TArray< struct FVectorParameterValue > | VectorParameterValues | Vector parameters. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialFunctionInstance
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | OverrideMaterialInstanceParameterValues
(
UMaterialInstance* Instance |
|
![]() |
void | SetParent
(
UMaterialFunctionInterface* NewParent |
|
![]() |
void |
Overridden from UMaterialFunctionInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Compile
(
FMaterialCompiler* Compiler, |
|
![]() ![]() |
UMaterialFunction * | GetBaseFunction
(
FMFRecursionGuard RecursionGuard |
|
![]() ![]() ![]() |
const UMaterialFunction * | GetBaseFunction
(
FMFRecursionGuard RecursionGuard |
|
![]() ![]() ![]() |
void | GetDependentFunctions
(
TArray< UMaterialFunctionInterface* >& DependentFunctions |
Returns an array of the functions that this function is dependent on, directly or indirectly. |
![]() ![]() ![]() |
void | GetInputsAndOutputs
(
TArray< struct FFunctionExpressionInput >& OutInputs, |
|
![]() ![]() |
EMaterialFunctionUsage | ||
![]() ![]() ![]() |
bool | GetParameterOverrideValue
(
EMaterialParameterType Type, |
|
![]() ![]() |
UMaterialInterface * | ||
![]() ![]() ![]() |
bool | Checks whether a Material Function is arranged in the old style, with inputs flowing from right to left | |
![]() ![]() |
bool | IsDependent
(
UMaterialFunctionInterface* OtherFunction |
|
![]() ![]() ![]() |
bool | IterateDependentFunctions
(
TFunctionRef< bool(UMaterialFunctionInterface*)> Predicate |
Iterates all functions that this function is dependent on, directly or indrectly. |
![]() ![]() |
void | LinkIntoCaller
(
const TArray< FFunctionExpressionInput >& CallerInputs |
|
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
bool | ValidateFunctionUsage
(
FMaterialCompiler* Compiler, |