UMeshPaintModeHelpers

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshPaintEditorMode

Header

/Engine/Plugins/MeshPainting/Source/MeshPaintEditorMode/Public/MeshPaintModeHelpers.h

Include

#include "MeshPaintModeHelpers.h"

Syntax

class UMeshPaintModeHelpers : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static

bool

 

CanCopyInstanceVertexColors

(
    const TArray< UStaticMeshComponent ...,
    int32 PaintingMeshLODIndex
)

Public function Static

bool

 

CanPasteInstanceVertexColors

(
    const TArray< UStaticMeshComponent ...,
    const TArray< FPerComponentVertexCo...
)

Public function Static

bool

 

CanPropagateVertexColors

(
    TArray< UStaticMeshComponent* ...,
    TArray< UStaticMesh* >& Stati...,
    int32 NumInstanceVertexColorBytes
)

Public function Static

bool

 

CanSaveModifiedTextures()

Public function Static

void

 

CopyVertexColors

(
    const TArray< UStaticMeshComponent ...,
    TArray< FPerComponentVertexColorDat...
)

Public function Static

void

 

ImportVertexColorsFromTexture

(
    UMeshComponent* MeshComponent
)

Helper function to import Vertex Colors from a Texture to the specified MeshComponent (makes use of SImportVertexColorsOptions Widget)

Public function Static

void

 

ImportVertexColorsToSkeletalMesh

(
    USkeletalMesh* SkeletalMesh,
    const UImportVertexColorOptions...,
    UTexture2D* Texture
)

Imports vertex colors from a Texture to the specified Skeletal Mesh according to user-set options

Public function Static

void

 

ImportVertexColorsToStaticMesh

(
    UStaticMesh* StaticMesh,
    const UImportVertexColorOptions...,
    UTexture2D* Texture
)

Imports vertex colors from a Texture to the specified Static Mesh according to user-set options

Public function Static

void

 

ImportVertexColorsToStaticMeshComponent

(
    UStaticMeshComponent* StaticMe...,
    const UImportVertexColorOptions...,
    UTexture2D* Texture
)

Imports vertex colors from a Texture to the specified Static Mesh Component according to user-set options

Public function Static

void

 

PasteVertexColors

(
    const TArray< UStaticMeshComponent ...,
    TArray< FPerComponentVertexColorDat...
)

Public function Static

void

 

PropagateVertexColors

(
    const TArray< UStaticMeshComponent ...
)

Public function Static

void

 

RemovePerLODColors

(
    const TArray< UMeshComponent* ...
)

Public function Static

bool

 

RetrieveViewportPaintRays

(
    const FSceneView* View,
    FViewport* Viewport,
    FPrimitiveDrawInterface* PDI,
    TArray< FPaintRay >& OutPaintRays
)

Public function Static

void

 

SaveModifiedTextures()

Public function Static

void

 

SetRealtimeViewport

(
    bool bRealtime
)

Sets whether or not the level viewport should be real time rendered move or viewport as parameter?

Public function Static

void

 

SetViewportColorMode

(
    EMeshPaintDataColorViewMode ColorVi...,
    FEditorViewportClient* Viewpor...
)

Forces the Viewport Client to render using the given Viewport Color ViewMode

Public function Static

void

 

SwapVertexColors()

Classes

Name

Description

Public struct

FPaintRay

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss