FMaterialAttributeDefintion

Attribute data describing a material property

Windows
MacOS
Linux

Inheritance Hierarchy

FMaterialAttributeDefintion

FMaterialCustomOutputAttributeDefintion

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FMaterialAttributeDefintion

Remarks

Attribute data describing a material property

Variables

Name Description

Public variable

FGuid

 

AttributeID

Public variable

bool

 

bIsHidden

Hidden from auto-generated lists but valid for manual material creation.

Public variable

MaterialAttribu...

 

BlendFunction

Optional function pointer for custom blend behavior.

Public variable

FVector4

 

DefaultValue

Public variable

FString

 

DisplayName

Public variable

EMaterialProper...

 

Property

Public variable

EShaderFrequenc...

 

ShaderFrequency

Public variable

int32

 

TexCoordIndex

Public variable

EMaterialValueT...

 

ValueType

Constructors

Name Description

Public function

FMaterialAttributeDefintion

(
    const FGuid& InGUID,
    const FString& InDisplayName,
    EMaterialProperty InProperty,
    EMaterialValueType InValueType,
    const FVector4& InDefaultValue,
    EShaderFrequency InShaderFrequency,
    int32 InTexCoordIndex,
    bool bInIsHidden,
    MaterialAttributeBlendFunction InBl...
)

Functions

Name Description

Public function

int32

 

CompileDefaultValue

(
    FMaterialCompiler* Compiler
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FMaterialAttributeDefintion&...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback