Navigation
API > API/Editor > API/Editor/MeshPaint
FMeshPaintGeometryAdapterForSkeletalMeshes.
| Name | FMeshPaintGeometryAdapterForSkeletalMeshes |
| Type | class |
| Header File | /Engine/Source/Editor/MeshPaint/Public/MeshPaintSkeletalMeshAdapter.h |
| Include Path | #include "MeshPaintSkeletalMeshAdapter.h" |
Syntax
class FMeshPaintGeometryAdapterForSkeletalMeshes : public FBaseMeshPaintGeometryAdapter
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMeshPaintGeometryAdapterForSkeletalMeshes() |
MeshPaintSkeletalMeshAdapter.h |
Structs
| Name | Remarks |
|---|---|
| FSkeletalMeshReferencers | Helpers structure for keeping track of cached skeletal mesh data |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMeshToComponentMap | TMap< TObjectPtr< USkeletalMesh >, FSkeletalMeshReferencers > | MeshPaintSkeletalMeshAdapter.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MeshToComponentMap | FMeshToComponentMap | MeshPaintSkeletalMeshAdapter.h |
Functions
Public
Overridden from FBaseMeshPaintGeometryAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InitializeVertexData() |
End IMeshPaintGeometryAdapter Overrides Start FBaseMeshPaintGeometryAdapter Overrides | MeshPaintSkeletalMeshAdapter.h |
Overridden from IMeshPaintGeometryAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Reference collecting to prevent GC-ing | MeshPaintSkeletalMeshAdapter.h | |
virtual void ApplyOrRemoveTextureOverride
(
UTexture* SourceTexture, |
Applies or removes an override texture to use while rendering the meshes materials | MeshPaintSkeletalMeshAdapter.h | |
virtual bool Construct
(
UMeshComponent* InComponent, |
Start IMeshPaintGeometryAdapter Overrides | MeshPaintSkeletalMeshAdapter.h | |
virtual FMatrix GetComponentToWorldMatrix() |
Returns the Component to World matrix from the Mesh Component | MeshPaintSkeletalMeshAdapter.h | |
virtual void GetTextureCoordinate
(
int32 VertexIndex, |
Returns the Texture Coordinate at Vertex Index from the Mesh | MeshPaintSkeletalMeshAdapter.h | |
virtual void GetVertexColor
(
int32 VertexIndex, |
Returns the Vertex Color at Vertex Index from the Mesh | MeshPaintSkeletalMeshAdapter.h | |
virtual bool Initialize() |
Start IMeshPaintGeometryAdapter Overrides | MeshPaintSkeletalMeshAdapter.h | |
virtual bool IsValid() |
Returns whether or not this adapter is in a valid state | MeshPaintSkeletalMeshAdapter.h | |
virtual bool LineTraceComponent
(
FHitResult& OutHit, |
Returns the result of tracing a line on the component represented by this adapter | MeshPaintSkeletalMeshAdapter.h | |
virtual void OnAdded() |
Called when this adapter is created and added to its owner (used for setting up) | MeshPaintSkeletalMeshAdapter.h | |
virtual void OnRemoved() |
Called when this adapter is removed from its owner and deleted (used for cleaning up) | MeshPaintSkeletalMeshAdapter.h | |
virtual void PostEdit() |
Post Edit to clear up or update necessary data | MeshPaintSkeletalMeshAdapter.h | |
virtual void PreEdit() |
Pre Edit to setup necessary data | MeshPaintSkeletalMeshAdapter.h | |
virtual void QueryPaintableTextures
(
int32 MaterialIndex, |
Retrieves a list of textures which are suitable for painting | MeshPaintSkeletalMeshAdapter.h | |
virtual void SetVertexColor
(
int32 VertexIndex, |
Sets the Vertex Color at Vertex Index to Color inside of the Mesh | MeshPaintSkeletalMeshAdapter.h | |
virtual bool SupportsTexturePaint() |
Whether or not this adapter supports texture painting | MeshPaintSkeletalMeshAdapter.h | |
virtual bool SupportsVertexPaint() |
Whether or not this adapter supports vertex painting | MeshPaintSkeletalMeshAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnPostMeshCached
(
USkeletalMesh* SkeletalMesh |
Callback for when skeletal mesh DDC data is rebuild | MeshPaintSkeletalMeshAdapter.h | |
void OnSkeletalMeshChanged() |
End FBaseMeshPaintGeometryAdapter Overrides Callback for when the skeletal mesh on the component is changed | MeshPaintSkeletalMeshAdapter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjectsGlobals
(
FReferenceCollector& Collector |
MeshPaintSkeletalMeshAdapter.h | ||
static void CleanupGlobals() |
MeshPaintSkeletalMeshAdapter.h | ||
static void InitializeAdapterGlobals() |
MeshPaintSkeletalMeshAdapter.h |