Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialTypes.h |
Include | #include "MaterialTypes.h" |
Syntax
struct FMaterialParameterMetadata
Remarks
Holds a value, along with editor-only metadata that describes that value
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | AssetPath | Path to the asset (UMaterial or UMaterialFunction) that introduced this parameter |
![]() |
bool | bDynamicSwitchParameter | Is a Static Switch parameter using a dynamic branch? |
![]() |
bool | bOverride | Is the parameter overriden on the material it was queried from? |
![]() |
bool | bUsedAsAtlasPosition | Should curves be used? |
![]() |
bool | bUsedAsChannelMask | Valid for Vector parameters |
![]() |
FParameterChannelNames | ChannelNames | Name of channels, for Vectors/Textures |
![]() |
FString | Description | Description of the parameter, typically taken from the 'Desc' field of the parameter's UMaterialExpression |
![]() |
FGuid | ExpressionGuid | GUID of the UMaterialExpression this parameter came from |
![]() |
FName | Group | Name of the parameter's group |
![]() |
float | Max | |
![]() |
float | Min | UI range for scalar values |
![]() |
int32 | PrimitiveDataIndex | |
![]() |
TSoftObjectPtr< class UCurveLinearColorAtlas > | ScalarAtlas | |
![]() |
TSoftObjectPtr< class UCurveLinearColor > | ScalarCurve | Curve/Atlas used to generate scalar value |
![]() |
int32 | SortPriority | Used for sorting parameter within the group, in the UI |
![]() |
FMaterialParameterValue | Value |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FMaterialParameterMetadata
(
const FMaterialParameterValue& InValue |
||
![]() |
FMaterialParameterMetadata
(
EMaterialParameterType Type, |