Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
FMeshPaintGeometryAdapterForSkeletalMeshes.
| Name | FMeshPaintSkeletalMeshComponentAdapter |
| Type | class |
| Header File | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintSkeletalMeshAdapter.h |
| Include Path | #include "MeshPaintSkeletalMeshAdapter.h" |
Syntax
class FMeshPaintSkeletalMeshComponentAdapter : public FBaseMeshPaintComponentAdapter
Inheritance Hierarchy
- FGCObject → FBaseMeshPaintComponentAdapter → FMeshPaintSkeletalMeshComponentAdapter
- FSharedFromThisBase → TSharedFromThis → FBaseMeshPaintComponentAdapter → FMeshPaintSkeletalMeshComponentAdapter
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMeshPaintSkeletalMeshComponentAdapter() |
MeshPaintSkeletalMeshAdapter.h |
Functions
Public
Overridden from FBaseMeshPaintComponentAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InitializeVertexData() |
End IMeshPaintGeometryAdapter Overrides Start FBaseMeshPaintGeometryAdapter Overrides | MeshPaintSkeletalMeshAdapter.h |
Overridden from IMeshPaintComponentAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 int32 GetNumUVChannels() |
Returns the number of UV channels for the current LOD index in the Mesh. | 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 SupportsTextureColorPaint() |
Whether or not this adapter supports texture color painting | MeshPaintSkeletalMeshAdapter.h | |
virtual bool SupportsTexturePaint() |
Whether or not this adapter supports texture asset painting | MeshPaintSkeletalMeshAdapter.h | |
virtual bool SupportsVertexPaint() |
Whether or not this adapter supports vertex painting | MeshPaintSkeletalMeshAdapter.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
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 |