Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCustomOutput
- UMaterialExpressionLandscapePhysicalMaterialOutput
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapePhysicalMaterialOutput.h |
| Include | #include "Materials/MaterialExpressionLandscapePhysicalMaterialOutput.h" |
Syntax
class UMaterialExpressionLandscapePhysicalMaterialOutput : public UMaterialExpressionCustomOutput
Remarks
Custom output node to write out physical material weights. This can be used to generate the dominant physical material for each point on a landscape. Note that the use of a material output node to generate this information is optional and when a node of this type is not present we fall back on a CPU path which analyzes landscape layer data.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPhysicalMaterialInput > | Inputs | Array of physical material inputs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionLandscapePhysicalMaterialOutput
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpressionCustomOutput
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| int32 | Override to enable multiple outputs. |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| FExpressionInput * | GetInput
(
int32 InputIndex |
||
| FName | GetInputName
(
int32 InputIndex |
||
| TArrayView< FExpressionInput * > | Get the expression inputs supported by this expression (Note: property inputs NOT included). | ||
| uint32 | GetInputType
(
int32 InputIndex |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |