Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
| Name | UTexturePatchEntry |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/Modifiers/MeshPartitionTexturePatchModifier.h |
| Include Path | #include "Modifiers/MeshPartitionTexturePatchModifier.h" |
Syntax
UCLASS (Abstract)
class UTexturePatchEntry : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTexturePatchEntry
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlphaMode | MeshPartition::ETexturePatchAlphaMode | Modifiers/MeshPartitionTexturePatchModifier.h |
|
|
| AlphaTextureAsset | EditConditionHides TObjectPtr< UTexture2D > | Modifiers/MeshPartitionTexturePatchModifier.h |
|
|
| BlendMode | MeshPartition::ETexturePatchBlendMode | How the values from the texture affect the intensity. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| bUseValueCurve | bool | When true, allows a custom curve to remap values from the texture, before Scale and Zero Value are applied. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| CornerRadius | float | When not 0, the corners are rounded with the given radius (clamped to half of the smallest dimension). | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| EditCondition | When using "Self Mask" alpha mode, the alpha will be set to 0 if absolute value of the texture sampled values is this or lower. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
|
| FalloffCurve | EditConditionHides TObjectPtr< UCurveFloat > | Modifiers/MeshPartitionTexturePatchModifier.h |
|
|
| FalloffCurveListenerHandle | FDelegateHandle | Modifiers/MeshPartitionTexturePatchModifier.h | ||
| FalloffDistance | float | Distance (in local space) across which to fall off the patch effects from the edge. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| FalloffMode | MeshPartition::ETexturePatchFalloffMode | How effects of the patch are decreased along the edges of the modifier. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| SelfMaskTolerance | EditConditionHides double | Modifiers/MeshPartitionTexturePatchModifier.h |
|
|
| TextureAsset | TObjectPtr< UTexture2D > | Texture that the patch samples. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| TextureChannelIndex | int32 | Channel index to sample in the texture asset. R: 0, G: 1, B:2, A:3 | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| ValueCurve | TObjectPtr< UCurveFloat > | Optional adjustment curve that can be applied to texture values (similar to a contrast adjustment). | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| ValueCurveListenerHandle | FDelegateHandle | Modifiers/MeshPartitionTexturePatchModifier.h | ||
| ValueCurveOffset | double | If the texture values are not in the range [0,1], gives a way to remap to a [0,1] range for using the adjustment curve. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
| ValueCurveScale | double | If the texture values are not in the range [0,1], gives a way to remap to a [0,1] range for using the adjustment curve. | Modifiers/MeshPartitionTexturePatchModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ETexturePatchAlphaMode GetAlphaBlendingMode() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
UTexture2D * GetTextureAsset() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
int32 GetTextureChannelIndex() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
ETexturePatchBlendMode GetTexturePatchBlendMode() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
bool GetUseValueCurve() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
UCurveFloat * GetValueCurve() |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetAlphaBlendingMode
(
const MeshPartition::ETexturePatchAlphaMode InTexturePatchAlphaMode |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetTextureAsset
(
UTexture2D* InTextureAsset |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetTextureChannelIndex
(
const int32 InTextureChannelIndex |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetTexturePatchBlendMode
(
const MeshPartition::ETexturePatchBlendMode InTexturePatchBlendMode |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetUseValueCurve
(
const bool bInUseValueCurve |
Modifiers/MeshPartitionTexturePatchModifier.h | ||
void SetValueCurve
(
UCurveFloat* InValueCurve |
Modifiers/MeshPartitionTexturePatchModifier.h |