Navigation
Unreal Engine C++ API Reference > Editor > MeshPaint
Inheritance Hierarchy
- IMeshPaintGeometryAdapter
- FBaseMeshPaintGeometryAdapter
- FMeshPaintGeometryAdapterForSkeletalMeshes
References
Module | MeshPaint |
Header | /Engine/Source/Editor/MeshPaint/Public/MeshPaintSkeletalMeshAdapter.h |
Include | #include "MeshPaintSkeletalMeshAdapter.h" |
Syntax
class FMeshPaintGeometryAdapterForSkeletalMeshes : public FBaseMeshPaintGeometryAdapter
Remarks
FMeshPaintGeometryAdapterForSkeletalMeshes.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FSkeletalMeshLODRenderData * | LODData | LOD render data (at Mesh LOD Index) containing data to change |
![]() |
FSkeletalMeshLODModel * | LODModel | LOD model (source) data (at Mesh LOD Index) containing data to change |
![]() |
int32 | MeshLODIndex | LOD Index for which data has to be retrieved / altered |
![]() |
FSkeletalMeshRenderData * | MeshResource | Skeletal Mesh resource retrieved from the Skeletal Mesh |
![]() |
TObjectPtr< USkeletalMesh > | ReferencedSkeletalMesh | Skeletal mesh currently set to the Skeletal Mesh Component |
![]() |
FDelegateHandle | SkeletalMeshChangedHandle | Delegate called when skeletal mesh is changed on the component |
![]() |
TObjectPtr< USkeletalMeshComponent > | SkeletalMeshComponent | Skeletal mesh component represented by this adapter |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjectsGlobals
(
FReferenceCollector& Collector |
|
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() |
void | OnPostMeshCached
(
USkeletalMesh* SkeletalMesh |
Callback for when skeletal mesh DDC data is rebuild |
![]() |
void | End FBaseMeshPaintGeometryAdapter Overrides Callback for when the skeletal mesh on the component is changed |
Overridden from FBaseMeshPaintGeometryAdapter
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | End IMeshPaintGeometryAdapter Overrides Start FBaseMeshPaintGeometryAdapter Overrides |
Overridden from IMeshPaintGeometryAdapter
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Reference collecting to prevent GC-ing |
![]() ![]() ![]() |
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 |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FSkeletalMeshReferencers | Helpers structure for keeping track of cached skeletal mesh data |
Typedefs
Name | Description |
---|---|
FMeshToComponentMap |
Constants
Name | Description |
---|---|
MeshToComponentMap |