Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
FMeshPaintGeometryAdapterForSkeletalMeshes.
| Name | FMeshPaintGeometryCollectionComponentAdapter |
| Type | class |
| Header File | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintGeometryCollectionAdapter.h |
| Include Path | #include "MeshPaintGeometryCollectionAdapter.h" |
Syntax
class FMeshPaintGeometryCollectionComponentAdapter : public FBaseMeshPaintComponentAdapter
Inheritance Hierarchy
- FGCObject → FBaseMeshPaintComponentAdapter → FMeshPaintGeometryCollectionComponentAdapter
- FSharedFromThisBase → TSharedFromThis → FBaseMeshPaintComponentAdapter → FMeshPaintGeometryCollectionComponentAdapter
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMeshPaintGeometryCollectionComponentAdapter() |
MeshPaintGeometryCollectionAdapter.h |
Functions
Public
Overridden from FBaseMeshPaintComponentAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InitializeVertexData() |
End IMeshPaintGeometryAdapter Overrides Start FBaseMeshPaintGeometryAdapter Overrides | MeshPaintGeometryCollectionAdapter.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 | MeshPaintGeometryCollectionAdapter.h | |
virtual bool Construct
(
UMeshComponent* InComponent, |
Start IMeshPaintGeometryAdapter Overrides | MeshPaintGeometryCollectionAdapter.h | |
virtual FMatrix GetComponentToWorldMatrix() |
Returns the Component to World matrix from the Mesh Component | MeshPaintGeometryCollectionAdapter.h | |
virtual int32 GetNumUVChannels() |
Returns the number of UV channels for the current LOD index in the Mesh. | MeshPaintGeometryCollectionAdapter.h | |
virtual void GetTextureCoordinate
(
int32 VertexIndex, |
Returns the Texture Coordinate at Vertex Index from the Mesh | MeshPaintGeometryCollectionAdapter.h | |
virtual void GetVertexColor
(
int32 VertexIndex, |
Returns the Vertex Color at Vertex Index from the Mesh | MeshPaintGeometryCollectionAdapter.h | |
virtual bool Initialize() |
Start IMeshPaintGeometryAdapter Overrides | MeshPaintGeometryCollectionAdapter.h | |
virtual bool IsValid() |
Returns whether or not this adapter is in a valid state | MeshPaintGeometryCollectionAdapter.h | |
virtual bool LineTraceComponent
(
FHitResult& OutHit, |
Returns the result of tracing a line on the component represented by this adapter | MeshPaintGeometryCollectionAdapter.h | |
virtual void OnAdded() |
Called when this adapter is created and added to its owner (used for setting up) | MeshPaintGeometryCollectionAdapter.h | |
virtual void OnRemoved() |
Called when this adapter is removed from its owner and deleted (used for cleaning up) | MeshPaintGeometryCollectionAdapter.h | |
virtual void PostEdit() |
Post Edit to clear up or update necessary data | MeshPaintGeometryCollectionAdapter.h | |
virtual void PreEdit() |
Pre Edit to setup necessary data | MeshPaintGeometryCollectionAdapter.h | |
virtual void QueryPaintableTextures
(
int32 MaterialIndex, |
Retrieves a list of textures which are suitable for painting | MeshPaintGeometryCollectionAdapter.h | |
virtual void SetVertexColor
(
int32 VertexIndex, |
Sets the Vertex Color at Vertex Index to Color inside of the Mesh | MeshPaintGeometryCollectionAdapter.h | |
virtual bool SupportsTextureColorPaint() |
Whether or not this adapter supports texture color painting | MeshPaintGeometryCollectionAdapter.h | |
virtual bool SupportsTexturePaint() |
Whether or not this adapter supports texture asset painting | MeshPaintGeometryCollectionAdapter.h | |
virtual bool SupportsVertexPaint() |
Whether or not this adapter supports vertex painting | MeshPaintGeometryCollectionAdapter.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
MeshPaintGeometryCollectionAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGeometryCollection * GetGeometryCollectionObject() |
Get the underlying UGeometryCollection from the component, as a non-const object Caller must have already validated that the component weak pointer is still valid (as this is called per-vertex) | MeshPaintGeometryCollectionAdapter.h | |
bool HasValidGeometryCollection() |
Like IsValid() but does not verify that the cached data matches. | MeshPaintGeometryCollectionAdapter.h | |
void OnGeometryCollectionChanged() |
MeshPaintGeometryCollectionAdapter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjectsGlobals
(
FReferenceCollector& Collector |
MeshPaintGeometryCollectionAdapter.h | ||
static void CleanupGlobals() |
MeshPaintGeometryCollectionAdapter.h | ||
static void InitializeAdapterGlobals() |
MeshPaintGeometryCollectionAdapter.h |