Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionDivide |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionDivide.h |
| Include Path | #include "Materials/MaterialExpressionDivide.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionDivide : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionDivide
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | FExpressionInput | Materials/MaterialExpressionDivide.h |
|
|
| B | FExpressionInput | Materials/MaterialExpressionDivide.h |
|
|
| ConstA | float | Only used if A is not hooked up | Materials/MaterialExpressionDivide.h |
|
| ConstB | float | Only used if B is not hooked up | Materials/MaterialExpressionDivide.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/MaterialExpressionDivide.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionDivide.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionDivide.h | |
virtual FText GetKeywords() |
Returns the keywords that should be used when searching for this expression | Materials/MaterialExpressionDivide.h |