Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintHelpers.h |
Include |
#include "MeshPaintHelpers.h" |
UCLASS()
class UMeshPaintingSubsystem : public UEngineSubsystem
Name | Description | |
---|---|---|
|
UMeshPaintingSubsystem() |
Name | Description | ||
---|---|---|---|
|
AddPaintableMeshComponent ( |
||
|
AddSelectedMeshComponents ( |
||
|
AddToComponentToAdapterMap ( |
||
|
ApplyBrushToVertex |
||
|
ApplyFillWithMask |
||
|
ApplyPerTrianglePaintAction ( |
Given the adapter, settings and view-information retrieves influences triangles and applies Action to them |
|
|
ApplyPerVertexPaintAction ( |
Given arguments for an action, and an action - retrieves influences vertices and applies Action to them |
|
|
ApplyVertexColorPaint ( |
Applies Vertex Color Painting according to the given parameters |
|
|
ApplyVertexColorsToAllLODs ( |
Applies the vertex colors found in LOD level 0 to all contained LOD levels in the SkeletalMeshComponent |
|
|
ApplyVertexColorsToAllLODs ( |
Applies the vertex colors found in LOD level 0 to all contained LOD levels in the StaticMeshComponent |
|
|
ApplyVertexColorsToAllLODs ( |
Applies vertex color painting found on LOD 0 to all lower LODs. |
|
|
ApplyVertexWeightPaint ( |
Applies Vertex Blend Weight Painting according to the given parameters |
|
|
CacheSelectionData |
||
|
ClearMeshTextureOverrides ( |
Clears all texture overrides for this component. |
|
|
ClearPaintableMeshComponents() |
||
|
ClearSelectedMeshComponents() |
||
|
ClearSelectionLODColors() |
||
|
float |
ComputePaintMultiplier ( |
Computes the Paint power multiplier value |
|
DoesMeshComponentContainPerLODColors ( |
Checks whether or not the mesh components contains per lod colors (for all LODs) |
|
|
FillSkeletalMeshVertexColors ( |
||
|
FillStaticMeshVertexColors ( |
Fills all vertex colors for all LODs found in the given mesh component with Fill Color |
|
|
FindHitResult ( |
||
|
ForceRenderMeshLOD ( |
Forces the component to render LOD level at LODIndex instead of the view-based LOD level ( X = 0 means do not force the LOD, X > 0 means force the lod to X - 1 ) |
|
|
GenerateColorForTextureWeight |
Generate texture weight color for given number of weights and the to-paint index |
|
|
TSharedPtr< ... |
GetAdapterForComponent ( |
Map of geometry adapters for each selected mesh component |
|
GetColorDataForLOD ( |
Retrieves the vertex colors from the given LOD level in the Mesh |
|
|
GetCopiedColorsByComponent() |
||
|
GetInstanceColorDataForLOD ( |
Retrieves the per-instance vertex colors from the given LOD level in the StaticMeshComponent |
|
|
GetInstanceColorDataInfo ( |
Retrieves the number of bytes used to store the per-instance LOD vertex color data from the mesh component |
|
|
GetMaxUVIndexToPaint() |
||
|
GetNumberOfLODs ( |
Returns the number of Mesh LODs for the given MeshComponent |
|
|
GetNumberOfUVs ( |
Returns the number of Texture Coordinates for the given MeshComponent |
|
|
GetPaintableMeshComponents() |
||
|
GetPerVertexPaintInfluencedVertices ( |
||
|
GetSelectedMeshComponents() |
||
|
GetVertexColorBufferSize ( |
Retrieves the Vertex Color buffer size for the given LOD level in the Mesh |
|
|
GetVerticesForLOD ( |
Retrieves the vertex positions from the given LOD level in the Mesh |
|
|
HasPaintableMesh ( |
||
|
IsPointInfluencedByBrush ( |
Checks whether or not a point is influenced by the painting brush according to the given parameters |
|
|
IsPointInfluencedByBrush ( |
||
|
PaintVertex ( |
Applies vertex painting to InOutvertexColor according to the given parameters |
|
|
PickVertexColorFromTextureData ( |
Helper function to retrieve vertex color from a UTexture given a UVCoordinate |
|
|
PropagateColorsToRawMesh ( |
Propagates per-instance vertex colors to the underlying Mesh for the given LOD Index |
|
|
Refresh() |
||
|
RemoveComponentInstanceVertexColors ( |
Removes vertex colors associated with the mesh component |
|
|
RemoveInstanceVertexColors ( |
Removes vertex colors associated with the object |
|
|
ResetState() |
||
|
SelectionContainsPerLODColors() |
||
|
SelectionContainsValidAdapters() |
||
|
SelectionHasMaterialValidForTexturePaint() |
||
|
SetColorDataForLOD ( |
Sets all vertex colors for a specific LOD level in the SkeletalMesh to FillColor |
|
|
SetCopiedColorsByComponent |
||
|
SetInstanceColorDataForLOD ( |
Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to the supplied Color array |
|
|
SetInstanceColorDataForLOD ( |
Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to a single Color value |
|
|
SetSelectionHasMaterialValidForTexturePaint ( |
||
|
TryGetNumberOfLODs ( |
OutNumLODs is set to number of Mesh LODs for the given MeshComponent and returns true, or returns false of given mesh component has no valid LODs |