UMaterialExpressionPower

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionPower.h

Include

#include "Materials/MaterialExpressionPower.h"

Syntax

class UMaterialExpressionPower : public UMaterialExpression

Variables

Name Description

Public variable

FExpressionInpu...

 

Base

Public variable

float

 

ConstExponent

Only used if Exponent is not hooked up

Public variable

FExpressionInpu...

 

Exponent

Constructors

Name Description

Public function

UMaterialExpressionPower

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

void

 

GetExpressionToolTip

(
    TArray< FString >& OutToolTip
)

Get a tooltip for the expression itself.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss