Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSphereMask
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSphereMask.h |
Include | #include "Materials/MaterialExpressionSphereMask.h" |
Syntax
class UMaterialExpressionSphereMask : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | A | 1 to 4 dimensional vector, should be the same type as B |
![]() |
float | AttenuationRadius | In the unit that A and B are measured |
![]() |
FExpressionInput | B | 1 to 4 dimensional vector, should be the same type as A |
![]() |
FExpressionInput | Hardness | 0..1 for the range of 0% to 100%, if not hooked up the internal constant is used |
![]() |
float | HardnessPercent | In percent 0%=soft .. 100%=hard |
![]() |
FExpressionInput | Radius | In the units that A and B are measured, if not hooked up the internal constant is used |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionSphereMask
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression |
![]() ![]() ![]() |
bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
|
![]() ![]() ![]() |
void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |
![]() ![]() ![]() |
FText | GetKeywords () |
Returns the keywords that should be used when searching for this expression |