UMaterialExpressionSphereMask

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSphereMask.h

Include

#include "Materials/MaterialExpressionSphereMask.h"

Syntax

class UMaterialExpressionSphereMask : public UMaterialExpression

Variables

Name Description

Public variable

FExpressionInpu...

 

A

1 to 4 dimensional vector, should be the same type as B

Public variable

float

 

AttenuationRadius

In the unit that A and B are measured

Public variable

FExpressionInpu...

 

B

1 to 4 dimensional vector, should be the same type as A

Public variable

FExpressionInpu...

 

Hardness

0..1 for the range of 0% to 100%, if not hooked up the internal constant is used

Public variable

float

 

HardnessPercent

In percent 0%=soft .. 100%=hard

Public variable

FExpressionInpu...

 

Radius

In the units that A and B are measured, if not hooked up the internal constant is used

Constructors

Name Description

Public function

UMaterialExpressionSphereMask

(
    const FObjectInitializer& ObjectIn...
)

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 Const

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this expression

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss