Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset
Inheritance Hierarchy
- IMeshPaintComponentAdapter
- FGCObject
- TSharedFromThis
- FBaseMeshPaintComponentAdapter
- FMeshPaintGeometryCollectionComponentAdapter
References
| Module | MeshPaintingToolset |
| Header | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintGeometryCollectionAdapter.h |
| Include | #include "MeshPaintGeometryCollectionAdapter.h" |
Syntax
class FMeshPaintGeometryCollectionComponentAdapter : public FBaseMeshPaintComponentAdapter
Remarks
FMeshPaintGeometryAdapterForSkeletalMeshes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSavedShowBoneColors | ||
| FDelegateHandle | GeometryCollectionChangedHandle | End FBaseMeshPaintGeometryAdapter Overrides Delegate called when geometry collection is changed on the component | |
| TWeakObjectPtr< UGeometryCollectionComponent > | GeometryCollectionComponent | Geometry Collection component represented by this adapter |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjectsGlobals
(
FReferenceCollector& Collector |
||
| void | |||
| UGeometryCollection * | 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) | ||
| bool | Like IsValid() but does not verify that the cached data matches. | ||
| void | |||
| void |
Overridden from FBaseMeshPaintComponentAdapter
| Type | Name | Description | |
|---|---|---|---|
| bool | End IMeshPaintGeometryAdapter Overrides Start FBaseMeshPaintGeometryAdapter Overrides |
Overridden from IMeshPaintComponentAdapter
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyOrRemoveTextureOverride
(
UTexture* SourceTexture, |
Applies or removes an override texture to use while rendering the meshes materials | |
| bool | Construct
(
UMeshComponent* InComponent, |
Start IMeshPaintGeometryAdapter Overrides | |
| FMatrix | Returns the Component to World matrix from the Mesh Component | ||
| void | GetTextureCoordinate
(
int32 VertexIndex, |
Returns the Texture Coordinate at Vertex Index from the Mesh | |
| void | GetVertexColor
(
int32 VertexIndex, |
Returns the Vertex Color at Vertex Index from the Mesh | |
| bool | Initialize () |
Start IMeshPaintGeometryAdapter Overrides | |
| bool | IsValid () |
Returns whether or not this adapter is in a valid state | |
| bool | LineTraceComponent
(
FHitResult& OutHit, |
Returns the result of tracing a line on the component represented by this adapter | |
| void | OnAdded () |
Called when this adapter is created and added to its owner (used for setting up) | |
| void | OnRemoved () |
Called when this adapter is removed from its owner and deleted (used for cleaning up) | |
| void | PostEdit () |
Post Edit to clear up or update necessary data | |
| void | PreEdit () |
Pre Edit to setup necessary data | |
| void | QueryPaintableTextures
(
int32 MaterialIndex, |
Retrieves a list of textures which are suitable for painting | |
| void | SetVertexColor
(
int32 VertexIndex, |
Sets the Vertex Color at Vertex Index to Color inside of the Mesh | |
| bool | Whether or not this adapter supports texture painting | ||
| bool | Whether or not this adapter supports vertex painting |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. |