UMaterialExpressionLandscapeGrassOutput

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeGrassOutput.h

Include

#include "Materials/MaterialExpressionLandscapeGrassOutput.h"

Syntax

class UMaterialExpressionLandscapeGrassOutput : public UMaterialExpressionCustomOutput

Variables

Name Description

Public variable

TArray< FGrassI...

 

GrassTypes

Constructors

Name Description

Public function

UMaterialExpressionLandscapeGrassOutput

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

void

 

ValidateInputName

(
    FGrassInput& Input
)

Overridden from UMaterialExpressionCustomOutput

Name Description

Public function Virtual Const

FString

 

GetFunctionName()

Public function Virtual Const

int32

 

GetNumOutputs()

Override to enable multiple outputs.

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

FExpressionI...

 

GetInput

(
    int32 InputIndex
)

Public function Virtual Const

FName

 

GetInputName

(
    int32 InputIndex
)

Public function Virtual

const TArray...

 

GetInputs()

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Constants

Name

Description

PinDefaultName