FMaterialPropertyHelpers

Unreal Engine C++ API Reference > 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* Chi..., TArray< FEditorParameterGroup >& P... )  
bool FilterLayerAssets ( const FAssetData& InAssetData, FMaterialLayersFunctions* Laye..., EMaterialParameterAssociation Mater..., int32 Index )  
TArray< clas... GetAssetFactories ( EMaterialParameterAssociation Asset... )  
FText GetParameterExpressionDescription ( UDEditorParameterValue* Parame..., UObject* MaterialEditorInstanc... ) Gets the expression description of this parameter from the base material
FEditorParam... GetParameterGroup ( UMaterial* InMaterial, FName& ParameterGroup, TArray< FEditorParameterGroup >& P... ) Returns group for parameter. Creates one if needed.
FText GetParameterTooltip ( UDEditorParameterValue* Parame..., UObject* MaterialEditorInstanc... )  
void GetVectorChannelMaskComboBoxStrings ( TArray< TSharedPtr< FString >>& Ou..., TArray< TSharedPtr< class SToolTip ..., TArray< bool >& OutRestrictedItems )  
FString GetVectorChannelMaskValue ( TObjectPtr< UDEditorParameterValue ... )  
FString GetVectorChannelMaskValue ( UDEditorParameterValue* InPara... )  
bool IsOverriddenExpression ( TWeakObjectPtr< UDEditorParameterVa... )  
bool IsOverriddenExpression ( TObjectPtr< UDEditorParameterValue ... )  
bool IsOverriddenExpression ( UDEditorParameterValue* Parame... ) Returns true if the parameter is being overridden
ECheckBoxSta... IsOverriddenExpressionCheckbox ( UDEditorParameterValue* Parame... ) Returns true if the parameter is being overridden
TSharedRef< ... MakeStackReorderHandle ( TSharedPtr< SMaterialLayersFunction... )  
FReply OnClickedSaveNewFunctionInstance ( UMaterialFunctionInterface* Ob..., UMaterialInterface* PreviewMat..., UObject* EditorObject )  
FReply OnClickedSaveNewLayerInstance ( UMaterialFunctionInterface* Ob..., TSharedPtr< FSortedParamData > InSo... )  
FReply OnClickedSaveNewMaterialInstance ( TObjectPtr< class UMaterialInterfac..., UObject* EditorObject )  
FReply OnClickedSaveNewMaterialInstance ( UMaterialInterface* Object, UObject* EditorObject )  
void OnMaterialLayerAssetChanged ( const FAssetData& InAssetData, int32 Index, EMaterialParameterAssociation Mater..., TSharedPtr< class IPropertyHandle >..., FMaterialLayersFunctions* InMa... )  
void OnOverrideParameter ( bool NewValue, UDEditorParameterValue* Parame..., UMaterialEditorInstanceConstant... ) Called when a parameter is overridden;
bool OnShouldFilterCurveAsset ( const FAssetData& AssetData, TSoftObjectPtr< UCurveLinearColorAt... )  
bool OnShouldSetCurveAsset ( const FAssetData& AssetData, TSoftObjectPtr< UCurveLinearColorAt... )  
void ResetCurveToDefault ( UDEditorParameterValue* Parame..., UMaterialEditorInstanceConstant... )  
void ResetCurveToDefault ( TObjectPtr< UDEditorParameterValue ..., UMaterialEditorInstanceConstant... )  
void ResetLayerAssetToDefault ( UDEditorParameterValue* InPara..., TEnumAsByte< EMaterialParameterAsso..., int32 Index, UMaterialEditorInstanceConstant... ) Specific resets for layer and blend asses
void ResetToDefault ( UDEditorParameterValue* Parame..., UMaterialEditorInstanceConstant... ) Generic material property reset to default implementation. Resets Parameter to default
void ResetToDefault ( TObjectPtr< UDEditorParameterValue ..., UMaterialEditorInstanceConstant... )  
void SetPositionFromCurveAsset ( const FAssetData& AssetData, TSoftObjectPtr< UCurveLinearColorAt..., UDEditorScalarParameterValue* ..., TSharedPtr< IPropertyHandle > Prope..., UObject* MaterialEditorInstanc... )  
void SetVectorChannelMaskValue ( const FString& StringValue, TSharedPtr< IPropertyHandle > Prope..., UDEditorParameterValue* InPara..., UObject* MaterialEditorInstanc... )  
void SetVectorChannelMaskValue ( const FString& StringValue, TSharedPtr< IPropertyHandle > Prope..., TObjectPtr< UDEditorParameterValue ..., UObject* MaterialEditorInstanc... )  
bool ShouldLayerAssetShowResetToDefault ( TSharedPtr< FSortedParamData > InPa..., UMaterialInstanceConstant* InM... ) If reset to default button should show for a layer or blend asset
bool ShouldLayerAssetShowResetToDefault ( TSharedPtr< FSortedParamData > InPa..., TObjectPtr< UMaterialInstanceConsta... )  
EVisibility ShouldShowExpression ( UDEditorParameterValue* Parame..., UMaterialEditorInstanceConstant..., FGetShowHiddenParameters ShowHidden... )  
EVisibility ShouldShowExpression ( TObjectPtr< UDEditorParameterValue ..., UMaterialEditorInstanceConstant..., FGetShowHiddenParameters ShowHidden... )  
bool ShouldShowResetToDefault ( UDEditorParameterValue* Parame..., UMaterialEditorInstanceConstant... ) Generic material property reset to default implementation. Resets Parameter to default
bool ShouldShowResetToDefault ( TObjectPtr< UDEditorParameterValue ..., UMaterialEditorInstanceConstant... )  
void TransitionAndCopyParameters ( UMaterialInstanceConstant* Chi..., TArray< FEditorParameterGroup >& P..., bool bForceCopy )  

Constants

Name Description
BlendID  
LayerID  
LayerParamName  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library