Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionSphereMask |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSphereMask.h |
| Include Path | #include "Materials/MaterialExpressionSphereMask.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionSphereMask : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionSphereMask
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | FExpressionInput | 1 to 4 dimensional vector, should be the same type as B | Materials/MaterialExpressionSphereMask.h | |
| AttenuationRadius | float | In the unit that A and B are measured | Materials/MaterialExpressionSphereMask.h |
|
| B | FExpressionInput | 1 to 4 dimensional vector, should be the same type as A | Materials/MaterialExpressionSphereMask.h | |
| Hardness | FExpressionInput | 0..1 for the range of 0% to 100%, if not hooked up the internal constant is used | Materials/MaterialExpressionSphereMask.h |
|
| HardnessPercent | float | In percent 0%=soft .. 100%=hard | Materials/MaterialExpressionSphereMask.h |
|
| Radius | FExpressionInput | In the units that A and B are measured, if not hooked up the internal constant is used | Materials/MaterialExpressionSphereMask.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionSphereMask.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionSphereMask.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionSphereMask.h | ||
virtual FText GetKeywords() |
Returns the keywords that should be used when searching for this expression | Materials/MaterialExpressionSphereMask.h |