Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
CoreMeshPartition expression allowing to sample one of the channels at a texcoord location
| Name | UMaterialExpressionMeshPartitionChannelSample |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionMaterialExpressionUtils.h |
| Include Path | #include "MeshPartitionMaterialExpressionUtils.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionMeshPartitionChannelSample : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionMeshPartitionChannelSample
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionMeshPartitionChannelSample
(
const FObjectInitializer& ObjectInitializer |
MeshPartitionMaterialExpressionUtils.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Channel | FName | The name of the channel sample by this expression. | MeshPartitionMaterialExpressionUtils.h |
|
| ChannelTextureInput | FExpressionInput | Input: MeshPartition Resource from the shared parameter expression. | MeshPartitionMaterialExpressionUtils.h | |
| MeshPartitionDefinition | TObjectPtr< UMeshPartitionDefinition > | The MeshPartition definition associated providing the list of channels. | MeshPartitionMaterialExpressionUtils.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 FindChannelIndex
(
FName InChannel |
MeshPartitionMaterialExpressionUtils.h |
|
|
| Retrieve the list of Channels available in the associated MeshPartitionDefinition. | MeshPartitionMaterialExpressionUtils.h |
|
Protected Virtual
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
MeshPartitionMaterialExpressionUtils.h | ||
| MeshPartitionMaterialExpressionUtils.h | |||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
MeshPartitionMaterialExpressionUtils.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
MeshPartitionMaterialExpressionUtils.h |