Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionReflectionVectorWS
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionReflectionVectorWS.h |
Include | #include "Materials/MaterialExpressionReflectionVectorWS.h" |
Syntax
class UMaterialExpressionReflectionVectorWS : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bNormalizeCustomWorldNormal | (true): The specified world normal will be normalized. |
![]() |
FExpressionInput | CustomWorldNormal | Optional world normal to reflect the camera view vector about. If unconnected, pixel normal is used |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionReflectionVectorWS
(
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). |