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

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