Navigation
API > API/Editor > API/Editor/MaterialEditor
References
| Module | MaterialEditor |
| Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialPropertyHelpers.h |
| Include | #include "MaterialPropertyHelpers.h" |
Syntax
class FMaterialPropertyHelpers
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyMaterialToInstance
(
UMaterialInstanceConstant* ChildInstance, |
||
| bool | FilterLayerAssets
(
const FAssetData& InAssetData, |
||
| TArray< class UFactory * > | GetAssetFactories
(
EMaterialParameterAssociation AssetType |
||
| FText | GetParameterExpressionDescription
(
UDEditorParameterValue* Parameter, |
Gets the expression description of this parameter from the base material | |
| FEditorParameterGroup & | GetParameterGroup
(
UMaterial* InMaterial, |
Returns group for parameter. Creates one if needed. | |
| FText | GetParameterTooltip
(
UDEditorParameterValue* Parameter, |
||
| void | GetVectorChannelMaskComboBoxStrings
(
TArray< TSharedPtr< FString >>& OutComboBoxStrings, |
||
| FString | GetVectorChannelMaskValue
(
TObjectPtr< UDEditorParameterValue > InParameter |
||
| FString | GetVectorChannelMaskValue
(
UDEditorParameterValue* InParameter |
||
| bool | IsOverriddenExpression
(
TWeakObjectPtr< UDEditorParameterValue > Parameter |
||
| bool | IsOverriddenExpression
(
TObjectPtr< UDEditorParameterValue > Parameter |
||
| bool | IsOverriddenExpression
(
UDEditorParameterValue* Parameter |
Returns true if the parameter is being overridden | |
| ECheckBoxState | IsOverriddenExpressionCheckbox
(
UDEditorParameterValue* Parameter |
Returns true if the parameter is being overridden | |
| TSharedRef< SWidget > | MakeStackReorderHandle
(
TSharedPtr< SMaterialLayersFunctionsInstanceTreeItem > InOwningStack |
||
| FReply | OnClickedSaveNewFunctionInstance
(
UMaterialFunctionInterface* Object, |
||
| FReply | OnClickedSaveNewLayerInstance
(
UMaterialFunctionInterface* Object, |
||
| FReply | OnClickedSaveNewMaterialInstance
(
TObjectPtr< class UMaterialInterface > Object, |
||
| FReply | OnClickedSaveNewMaterialInstance
(
UMaterialInterface* Object, |
||
| void | OnMaterialLayerAssetChanged
(
const FAssetData& InAssetData, |
||
| void | OnOverrideParameter
(
bool NewValue, |
Called when a parameter is overridden; | |
| bool | OnShouldFilterCurveAsset
(
const FAssetData& AssetData, |
||
| bool | OnShouldSetCurveAsset
(
const FAssetData& AssetData, |
||
| void | ResetCurveToDefault
(
UDEditorParameterValue* Parameter, |
||
| void | ResetCurveToDefault
(
TObjectPtr< UDEditorParameterValue > Parameter, |
||
| void | ResetLayerAssetToDefault
(
UDEditorParameterValue* InParameter, |
Specific resets for layer and blend asses | |
| void | ResetToDefault
(
UDEditorParameterValue* Parameter, |
Generic material property reset to default implementation. Resets Parameter to default | |
| void | ResetToDefault
(
TObjectPtr< UDEditorParameterValue > Parameter, |
||
| void | SetPositionFromCurveAsset
(
const FAssetData& AssetData, |
||
| void | SetVectorChannelMaskValue
(
const FString& StringValue, |
||
| void | SetVectorChannelMaskValue
(
const FString& StringValue, |
||
| bool | ShouldLayerAssetShowResetToDefault
(
TSharedPtr< FSortedParamData > InParameterData, |
If reset to default button should show for a layer or blend asset | |
| bool | ShouldLayerAssetShowResetToDefault
(
TSharedPtr< FSortedParamData > InParameterData, |
||
| EVisibility | ShouldShowExpression
(
UDEditorParameterValue* Parameter, |
||
| EVisibility | ShouldShowExpression
(
TObjectPtr< UDEditorParameterValue > Parameter, |
||
| bool | ShouldShowResetToDefault
(
UDEditorParameterValue* Parameter, |
Generic material property reset to default implementation. Resets Parameter to default | |
| bool | ShouldShowResetToDefault
(
TObjectPtr< UDEditorParameterValue > Parameter, |
||
| void | TransitionAndCopyParameters
(
UMaterialInstanceConstant* ChildInstance, |
Constants
| Name | Description |
|---|---|
| BlendID | |
| LayerID | |
| LayerParamName |