Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionPower |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPower.h |
| Include Path | #include "Materials/MaterialExpressionPower.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionPower : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionPower
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Base | FExpressionInput | Materials/MaterialExpressionPower.h | ||
| ConstExponent | float | Only used if Exponent is not hooked up | Materials/MaterialExpressionPower.h |
|
| Exponent | FExpressionInput | Materials/MaterialExpressionPower.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/MaterialExpressionPower.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionPower.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPower.h | ||
| Get a tooltip for the expression itself. | Materials/MaterialExpressionPower.h |