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