Material property to attribute data mappings 更多...
#include <MaterialShared.h>
静态 Public 成员函数 | |
| static ENGINE_API void | AddCustomAttribute (const FGuid &AttributeID, const FString &AttributeName, const FString &FunctionName, EMaterialValueType ValueType, const FVector4 &DefaultValue, MaterialAttributeBlendFunction BlendFunction=nullptr) |
| Appends a new attribute definition to the custom output list | |
| static ENGINE_API void | AppendDDCKeyString (FString &String) |
| Appends a hash of the property map intended for use with the DDC key | |
| static ENGINE_API int32 | CompileDefaultExpression (FMaterialCompiler *Compiler, const FGuid &AttributeID) |
| Compiles the default expression for a material attribute | |
| static ENGINE_API int32 | CompileDefaultExpression (FMaterialCompiler *Compiler, EMaterialProperty Property) |
| Compiles the default expression for a material attribute | |
| static ENGINE_API FString | GetAttributeName (const FGuid &AttributeID) |
| Returns the display name of a material attribute | |
| static ENGINE_API FString | GetAttributeName (EMaterialProperty Property) |
| Returns the display name of a material attribute | |
| static ENGINE_API MaterialAttributeBlendFunction | GetBlendFunction (const FGuid &AttributeID) |
| Returns the custom blend function of a material attribute | |
| static ENGINE_API void | GetCustomAttributeList (TArray< FMaterialCustomOutputAttributeDefintion > &CustomAttributeList) |
| Returns a list of registered custom attributes | |
| static ENGINE_API FGuid | GetDefaultID () |
| Returns a default attribute AttributeID | |
| static ENGINE_API FVector4 | GetDefaultValue (const FGuid &AttributeID) |
| Returns the default value of a material attribute | |
| static ENGINE_API FVector4 | GetDefaultValue (EMaterialProperty Property) |
| Returns the default value of a material property | |
| static ENGINE_API FText | GetDisplayNameForMaterial (const FGuid &AttributeID, UMaterial *Material) |
| Returns the display name of a material attribute, accounting for overrides based on properties of a given material | |
| static ENGINE_API FText | GetDisplayNameForMaterial (EMaterialProperty Property, UMaterial *Material) |
| Returns the display name of a material attribute, accounting for overrides based on properties of a given material | |
| static ENGINE_API FGuid | GetID (EMaterialProperty Property) |
| Returns the attribute ID for a matching material property | |
| static ENGINE_API EMaterialProperty | GetProperty (const FGuid &AttributeID) |
| Returns a the material property matching the specified attribute AttributeID | |
| static ENGINE_API EShaderFrequency | GetShaderFrequency (const FGuid &AttributeID) |
| Returns the shader frequency of a material attribute | |
| static ENGINE_API EShaderFrequency | GetShaderFrequency (EMaterialProperty Property) |
| Returns the shader frequency of a material attribute | |
| static ENGINE_API EMaterialValueType | GetValueType (const FGuid &AttributeID) |
| Returns the value type of a material attribute | |
| static ENGINE_API EMaterialValueType | GetValueType (EMaterialProperty Property) |
| Returns the value type of a material attribute | |
Material property to attribute data mappings