| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/EditableMesh/Source/EditableMesh/Public/EditableMesh.h |
Include |
#include "EditableMesh.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType)
class UEditableMesh : public UObject
Name | Description | ||
---|---|---|---|
|
Adapters |
Adapters registered with this editable mesh |
|
|
bAllowCompact |
True if compact is enabled on this mesh. |
|
|
bAllowSpatialDatabase |
Spatial databaseTrue if we should generate and maintain an octree spatial database for this mesh. |
|
|
bAllowUndo |
True if undo features are enabled on this mesh. |
|
|
bIsBeingModified |
True if StartModification() has been called. |
|
|
CurrentModificationType |
While the mesh is being edited (between calls to StartModification() and EndModification()), this is the type of modification being performed |
|
|
CurrentToplogyChange |
While the mesh is being edited (between calls to StartModification() and EndModification()), stores whether topology could be affected |
|
|
DeletedOctreePolygonIDs |
Polygons that were deleted since the last time our octree was refreshed |
|
|
ElementIDsRemappedEvent |
Broadcast event when element IDs are remapped (for example, following Compact / Uncompact) |
|
|
MeshDescription |
Pointer to the active mesh description for this editable mesh |
|
|
NewOctreePolygonIDs |
Newly-created polygons since the last time our octree was refreshed |
|
|
TSharedPtr< cla... |
Octree |
Octree to accelerate spatial queries against the mesh. |
|
OwnedMeshDescription |
Owned mesh description for this editable mesh |
|
|
PendingCompactCounter |
Counter to determine when we should compact data |
|
|
PolygonIDToOctreeElementIDMap |
Maps our polygon IDs to octree element IDs |
|
|
PolygonsPendingFlipTangentBasis |
List of polygons which need their tangent basis flipped (and consequently their associated vertex instances) |
|
|
PolygonsPendingNewTangentBasis |
List of polygons which need their tangent basis recalculating (and consequently their associated vertex instances) |
|
|
PolygonsPendingTriangulation |
List of polygons requiring retriangulation |
|
|
PrimaryAdapter |
||
|
SubdivisionCount |
How many levels to subdivide this mesh. Zero will turn off subdivisions |
|
|
SubdivisionLimitData |
The resulting limit surface geometry after GenerateOpenSubdivLimitSurfaceData() is called |
|
|
SubMeshAddress |
The sub-mesh we came from |
|
|
TextureCoordinateCount |
The number of texture coordinates stored on the vertices of this mesh |
|
|
TUniquePtr< FCo... |
Undo |
When bAllowUndo is enabled, this will store the changes that can be applied to revert anything that happened to this mesh since the last time that MakeUndo() was called. |
|
VerticesPendingMerging |
List of candidate vertices for merging instances |
Name | Description | |
---|---|---|
|
UEditableMesh() |
Default constructor that initializes good defaults for UEditableMesh |
Name | Description | ||
---|---|---|---|
|
AddUndo ( |
Adds a new change that can be used to undo a modification that happened to the mesh. |
|
|
AnyChangesToUndo() |
||
|
Compact() |
Compacts mesh element arrays to remove gaps, and fixes up referenced IDs |
|
|
ComputeBarycentricWeightForPointOnPolygon ( |
||
|
CreatePolygonContour ( |
||
|
FVertexInsta... |
CreateVertexInstanceForContourVertex ( |
|
|
GeometryHitTest ( |
Statics |
|
|
GetConnectedSoftEdges |
||
|
GetEdgeConnectedPolygon |
Returns the indexed polygon connected to this edge |
|
|
GetEdgeConnectedPolygonCount ( |
Returns the number of polygons connected to this edge |
|
|
GetEdgeCount() |
Returns the number of edges in this mesh |
|
|
GetEdgeVertex |
Returns the given indexed vertex for this edge. EdgeVertexNumber must be 0 or 1. |
|
|
FPolygonGrou... |
GetGroupForPolygon ( |
Returns the polygon group this polygon is assigned to |
|
const FMeshD... |
GetMeshDescription() |
|
|
FMeshDescrip... |
GetMeshDescription() |
|
|
GetPolygonCount() |
Returns the number of polygons in this mesh |
|
|
GetPolygonCountInGroup ( |
Returns the number of polygons in this polygon group |
|
|
GetPolygonGroupCount() |
Returns the number of polygon groups in this mesh |
|
|
GetPolygonInGroup ( |
Returns the given indexed polygon in this polygon group |
|
|
GetPolygonPerimeterVertex ( |
Returns the indexed vertex on this polygon's perimeter |
|
|
GetPolygonPerimeterVertexCount ( |
Returns the number of vertices on this polygon's perimeter |
|
|
FVertexInsta... |
GetPolygonPerimeterVertexInstance ( |
Returns the indexed vertex instance on this polygon's perimeter |
|
GetPolygonsInSameSoftEdgedGroupAsPolygon ( |
||
|
GetPolygonTriangulatedTriangle ( |
Returns the indexed triangle of the triangulated polygon |
|
|
GetPolygonTriangulatedTriangleCount ( |
Returns the number of triangles which make up this polygon |
|
|
const FEdita... |
GetSubMeshAddress() |
Gets the sub-mesh address for this mesh which uniquely identifies the mesh among other sub-meshes in the same component |
|
GetVertexConnectedEdge |
Returns the requested edge connected to this vertex |
|
|
GetVertexConnectedEdgeCount ( |
Returns the number of edges connected to this vertex |
|
|
GetVertexConnectedPolygonsInSameSoftEdgedGroup ( |
||
|
GetVertexCount() |
Returns the number of vertices in this mesh |
|
|
GetVertexInstanceConnectedPolygon ( |
Returns the indexed polygon connected to this vertex instance |
|
|
GetVertexInstanceConnectedPolygonCount ( |
Returns the number of polygons connected to this vertex instance |
|
|
GetVertexInstanceCount() |
Returns the number of vertex instances in this mesh |
|
|
FVertexInsta... |
GetVertexInstanceInPolygonForVertex ( |
|
|
GetVertexInstanceVertex ( |
Returns the vertex ID which the given vertex instance is instancing |
|
|
IsCompactAllowed() |
||
|
IsOrphanedVertex ( |
Returns whether the given vertex ID is orphaned |
|
|
IsSpatialDatabaseAllowed() |
||
|
IsUndoAllowed() |
||
|
IsValidEdge ( |
Returns whether the given edge ID is valid |
|
|
IsValidPolygon ( |
Returns whether the given polygon ID is valid |
|
|
IsValidPolygonGroup ( |
Returns whether the given polygon group ID is valid |
|
|
IsValidVertex ( |
Returns whether the given vertex ID is valid |
|
|
TUniquePtr< ... |
MakeUndo() |
Grabs any outstanding changes to this mesh and returns a change that can be used to undo those changes. |
|
FElementIDsR... |
OnElementIDsRemapped() |
|
|
RebuildOctree() |
Rebuilds the octree |
|
|
RemapOctreeIDs ( |
Given a set of index remappings, fixes up references in the octree |
|
|
ReplaceVertexInstanceInPolygons ( |
||
|
SearchSpatialDatabaseWithPredicate ( |
||
|
SetAllowCompact ( |
Sets whether the mesh can be sporadically compacted as modifications are performed |
|
|
SetAllowSpatialDatabase ( |
Sets whether this mesh should automatically generate and maintain an octree spatial database. |
|
|
SetAllowUndo ( |
Sets whether undo is allowed on this mesh |
|
|
SetEdgeAttribute ( |
||
|
SetMeshDescription ( |
||
|
SetPolygonAttribute ( |
||
|
SetPolygonContourVertexAttributes ( |
||
|
SetPolygonGroupAttribute ( |
||
|
SetSubMeshAddress ( |
Called at initialization time to set this mesh's sub-mesh address |
|
|
SetVertexAttribute ( |
||
|
SetVertexInstanceAttribute ( |
||
|
SplitVertexInstanceInPolygons ( |
||
|
SplitVerticesIfNecessary |
||
|
Uncompact ( |
Remaps mesh element arrays according to the provided remappings, in order to undo a compact operation |
Name |
Description |
|
---|---|---|
|
FElementIDsRemapped |
Name |
Description |
---|---|
CompactFrequency |
Data will be compacted after this many topology modifying actions. |