Navigation
API > API/Editor > API/Editor/MeshPaint
Base mesh paint geometry adapter, handles basic sphere intersection using a Octree
| Name | FBaseMeshPaintGeometryAdapter |
| Type | class |
| Header File | /Engine/Source/Editor/MeshPaint/Public/BaseMeshPaintGeometryAdapter.h |
| Include Path | #include "BaseMeshPaintGeometryAdapter.h" |
Syntax
class FBaseMeshPaintGeometryAdapter : public IMeshPaintGeometryAdapter
Implements Interfaces
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool InitializeVertexData() |
End IMeshPaintGeometryAdapter Overrides | BaseMeshPaintGeometryAdapter.h |
Overridden from IMeshPaintGeometryAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetInfluencedVertexData
(
const float ComponentSpaceSquaredBrushRadius, |
Retrieves the influenced vertex indices and positions that intersect the given sphere | BaseMeshPaintGeometryAdapter.h | |
virtual void GetInfluencedVertexIndices
(
const float ComponentSpaceSquaredBrushRadius, |
Retrieves the influenced vertex indices which intersect the given sphere | BaseMeshPaintGeometryAdapter.h | |
virtual const TArray< uint32 > & GetMeshIndices() |
Returns the indices for the current LOD index in the Mesh | BaseMeshPaintGeometryAdapter.h | |
virtual const TArray< FVector > & GetMeshVertices() |
Returns the vertices for the current LOD index in the Mesh | BaseMeshPaintGeometryAdapter.h | |
virtual void GetVertexPosition
(
int32 VertexIndex, |
Returns the Vertex Position at Vertex Index from the Mesh | BaseMeshPaintGeometryAdapter.h | |
virtual bool Initialize() |
Start IMeshPaintGeometryAdapter Overrides | BaseMeshPaintGeometryAdapter.h | |
virtual TArray< uint32 > SphereIntersectTriangles
(
const float ComponentSpaceSquaredBrushRadius, |
Returns the triangle indices which intersect with the given sphere | BaseMeshPaintGeometryAdapter.h | |
virtual TArray< FVector > SphereIntersectVertices
(
const float ComponentSpaceSquaredBrushRadius, |
Returns the vertex positions which intersect the given sphere | BaseMeshPaintGeometryAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BuildOctree() |
BaseMeshPaintGeometryAdapter.h |