Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionPower
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionPower.h |
Include | #include "Materials/MaterialExpressionPower.h" |
Syntax
class UMaterialExpressionPower : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FExpressionInput | Base | |
![]() |
float | ConstExponent | Only used if Exponent is not hooked up |
![]() |
FExpressionInput | Exponent |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionPower
(
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). |
![]() ![]() |
void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. |