Class EditableMesh
Inheritance
System.Object
EditableMesh
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class EditableMesh : UObject
Properties
|
Improve this Doc
View Source
Adapters
Adapters registered with this editable mesh
Declaration
public ObjectArrayField<EditableMeshAdapter> Adapters { get; }
Property Value
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static EditableMesh DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
PendingCompactCounter
Counter to determine when we should compact data
Declaration
public int PendingCompactCounter { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
SubdivisionCount
How many levels to subdivide this mesh. Zero will turn off subdivisions
Declaration
public int SubdivisionCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TextureCoordinateCount
The number of texture coordinates stored on the vertices of this mesh
Declaration
public int TextureCoordinateCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
AnyChangesToUndo()
@return Returns true if there are any existing tracked changes that can be undo right now
Declaration
public bool AnyChangesToUndo()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AssignPolygonsToPolygonGroups(Byte, Boolean)
Assign Polygons to Polygon Groups
Declaration
public void AssignPolygonsToPolygonGroups(byte PolygonGroupForPolygons, bool bDeleteOrphanedPolygonGroups)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonGroupForPolygons |
|
System.Boolean |
bDeleteOrphanedPolygonGroups |
|
|
Improve this Doc
View Source
BevelPolygons(Byte, Single, Single)
Declaration
public (IReadOnlyCollection<PolygonID>, IReadOnlyCollection<PolygonID>) BevelPolygons(byte PolygonIDs, float BevelFixedDistance, float BevelProgressTowardCenter)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
System.Single |
BevelFixedDistance |
|
System.Single |
BevelProgressTowardCenter |
|
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<PolygonID>, System.Collections.Generic.IReadOnlyCollection<PolygonID>> |
|
|
Improve this Doc
View Source
ChangePolygonsVertexInstances(Byte)
Change Polygons Vertex Instances
Declaration
public void ChangePolygonsVertexInstances(byte VertexInstancesForPolygons)
Parameters
Type |
Name |
Description |
System.Byte |
VertexInstancesForPolygons |
|
|
Improve this Doc
View Source
Commit()
Declaration
|
Improve this Doc
View Source
CommitInstance(PrimitiveComponent)
Declaration
public EditableMesh CommitInstance(PrimitiveComponent ComponentToInstanceTo)
Parameters
Returns
|
Improve this Doc
View Source
ComputeBarycentricWeightForPointOnPolygon(PolygonID, Vector)
Compute Barycentric Weight for Point on Polygon
Declaration
public (MeshTriangle, Vector, bool) ComputeBarycentricWeightForPointOnPolygon(PolygonID PolygonID, Vector PointOnPolygon)
Parameters
Returns
|
Improve this Doc
View Source
ComputeBoundingBox()
Declaration
public Box ComputeBoundingBox()
Returns
|
Improve this Doc
View Source
ComputeBoundingBoxAndSphere()
Compute Bounding Box and Sphere
Declaration
public BoxSphereBounds ComputeBoundingBoxAndSphere()
Returns
|
Improve this Doc
View Source
ComputePolygonCenter(PolygonID)
Declaration
public Vector ComputePolygonCenter(PolygonID PolygonID)
Parameters
Returns
|
Improve this Doc
View Source
ComputePolygonNormal(PolygonID)
Declaration
public Vector ComputePolygonNormal(PolygonID PolygonID)
Parameters
Returns
|
Improve this Doc
View Source
ComputePolygonPlane(PolygonID)
Declaration
public Plane ComputePolygonPlane(PolygonID PolygonID)
Parameters
Returns
|
Improve this Doc
View Source
ComputePolygonsSharedEdges(Byte)
Compute Polygons Shared Edges
Declaration
public IReadOnlyCollection<EdgeID> ComputePolygonsSharedEdges(byte PolygonIDs)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
ComputePolygonTriangulation(PolygonID)
Compute Polygon Triangulation
Declaration
public IReadOnlyCollection<MeshTriangle> ComputePolygonTriangulation(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<MeshTriangle> |
|
|
Improve this Doc
View Source
CreateEdges(Byte)
Declaration
public IReadOnlyCollection<EdgeID> CreateEdges(byte EdgesToCreate)
Parameters
Type |
Name |
Description |
System.Byte |
EdgesToCreate |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
CreateEmptyVertexRange(Int32)
Create Empty Vertex Range
Declaration
public IReadOnlyCollection<VertexID> CreateEmptyVertexRange(int NumVerticesToCreate)
Parameters
Type |
Name |
Description |
System.Int32 |
NumVerticesToCreate |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
CreateMissingPolygonHoleEdges(PolygonID, Int32)
Create Missing Polygon Hole Edges
Declaration
public IReadOnlyCollection<EdgeID> CreateMissingPolygonHoleEdges(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
CreateMissingPolygonPerimeterEdges(PolygonID)
Create Missing Polygon Perimeter Edges
Declaration
public IReadOnlyCollection<EdgeID> CreateMissingPolygonPerimeterEdges(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
CreatePolygonGroups(Byte)
Declaration
public IReadOnlyCollection<PolygonGroupID> CreatePolygonGroups(byte PolygonGroupsToCreate)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonGroupsToCreate |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonGroupID> |
|
|
Improve this Doc
View Source
CreatePolygons(Byte)
Declaration
public (IReadOnlyCollection<PolygonID>, IReadOnlyCollection<EdgeID>) CreatePolygons(byte PolygonsToCreate)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonsToCreate |
|
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<PolygonID>, System.Collections.Generic.IReadOnlyCollection<EdgeID>> |
|
|
Improve this Doc
View Source
CreateVertexInstances(Byte)
Declaration
public IReadOnlyCollection<VertexInstanceID> CreateVertexInstances(byte VertexInstancesToCreate)
Parameters
Type |
Name |
Description |
System.Byte |
VertexInstancesToCreate |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexInstanceID> |
|
|
Improve this Doc
View Source
CreateVertices(Byte)
Declaration
public IReadOnlyCollection<VertexID> CreateVertices(byte VerticesToCreate)
Parameters
Type |
Name |
Description |
System.Byte |
VerticesToCreate |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
DeleteEdgeAndConnectedPolygons(EdgeID, Boolean, Boolean, Boolean, Boolean)
Delete Edge and Connected Polygons
Declaration
public void DeleteEdgeAndConnectedPolygons(EdgeID EdgeID, bool bDeleteOrphanedEdges, bool bDeleteOrphanedVertices, bool bDeleteOrphanedVertexInstances, bool bDeleteEmptyPolygonGroups)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
System.Boolean |
bDeleteOrphanedEdges |
|
System.Boolean |
bDeleteOrphanedVertices |
|
System.Boolean |
bDeleteOrphanedVertexInstances |
|
System.Boolean |
bDeleteEmptyPolygonGroups |
|
|
Improve this Doc
View Source
DeleteEdges(Byte, Boolean)
Declaration
public void DeleteEdges(byte EdgeIDsToDelete, bool bDeleteOrphanedVertices)
Parameters
Type |
Name |
Description |
System.Byte |
EdgeIDsToDelete |
|
System.Boolean |
bDeleteOrphanedVertices |
|
|
Improve this Doc
View Source
DeleteOrphanVertices(Byte)
Declaration
public void DeleteOrphanVertices(byte VertexIDsToDelete)
Parameters
Type |
Name |
Description |
System.Byte |
VertexIDsToDelete |
|
|
Improve this Doc
View Source
DeletePolygonGroups(Byte)
Declaration
public void DeletePolygonGroups(byte PolygonGroupIDs)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonGroupIDs |
|
|
Improve this Doc
View Source
DeletePolygons(Byte, Boolean, Boolean, Boolean, Boolean)
Declaration
public void DeletePolygons(byte PolygonIDsToDelete, bool bDeleteOrphanedEdges, bool bDeleteOrphanedVertices, bool bDeleteOrphanedVertexInstances, bool bDeleteEmptyPolygonGroups)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDsToDelete |
|
System.Boolean |
bDeleteOrphanedEdges |
|
System.Boolean |
bDeleteOrphanedVertices |
|
System.Boolean |
bDeleteOrphanedVertexInstances |
|
System.Boolean |
bDeleteEmptyPolygonGroups |
|
|
Improve this Doc
View Source
DeleteVertexAndConnectedEdgesAndPolygons(VertexID, Boolean, Boolean, Boolean, Boolean)
Delete Vertex and Connected Edges and Polygons
Declaration
public void DeleteVertexAndConnectedEdgesAndPolygons(VertexID VertexID, bool bDeleteOrphanedEdges, bool bDeleteOrphanedVertices, bool bDeleteOrphanedVertexInstances, bool bDeleteEmptyPolygonGroups)
Parameters
Type |
Name |
Description |
VertexID |
VertexID |
|
System.Boolean |
bDeleteOrphanedEdges |
|
System.Boolean |
bDeleteOrphanedVertices |
|
System.Boolean |
bDeleteOrphanedVertexInstances |
|
System.Boolean |
bDeleteEmptyPolygonGroups |
|
|
Improve this Doc
View Source
DeleteVertexInstances(Byte, Boolean)
Declaration
public void DeleteVertexInstances(byte VertexInstanceIDsToDelete, bool bDeleteOrphanedVertices)
Parameters
Type |
Name |
Description |
System.Byte |
VertexInstanceIDsToDelete |
|
System.Boolean |
bDeleteOrphanedVertices |
|
|
Improve this Doc
View Source
EndModification(Boolean)
Declaration
public void EndModification(bool bFromUndo)
Parameters
Type |
Name |
Description |
System.Boolean |
bFromUndo |
|
|
Improve this Doc
View Source
ExtendEdges(Byte, Boolean)
Declaration
public IReadOnlyCollection<EdgeID> ExtendEdges(byte EdgeIDs, bool bWeldNeighbors)
Parameters
Type |
Name |
Description |
System.Byte |
EdgeIDs |
|
System.Boolean |
bWeldNeighbors |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
ExtendVertices(Byte, Boolean, Vector)
Declaration
public IReadOnlyCollection<VertexID> ExtendVertices(byte VertexIDs, bool bOnlyExtendClosestEdge, Vector ReferencePosition)
Parameters
Type |
Name |
Description |
System.Byte |
VertexIDs |
|
System.Boolean |
bOnlyExtendClosestEdge |
|
Vector |
ReferencePosition |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
ExtrudePolygons(Byte, Single, Boolean)
Declaration
public IReadOnlyCollection<PolygonID> ExtrudePolygons(byte Polygons, float ExtrudeDistance, bool bKeepNeighborsTogether)
Parameters
Type |
Name |
Description |
System.Byte |
Polygons |
|
System.Single |
ExtrudeDistance |
|
System.Boolean |
bKeepNeighborsTogether |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
FindPolygonHoleEdgeNumberForVertices(PolygonID, Int32, VertexID, VertexID)
Find Polygon Hole Edge Number for Vertices
Declaration
public int FindPolygonHoleEdgeNumberForVertices(PolygonID PolygonID, int HoleNumber, VertexID EdgeVertexID0, VertexID EdgeVertexID1)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FindPolygonHoleVertexNumberForVertex(PolygonID, Int32, VertexID)
Find Polygon Hole Vertex Number for Vertex
Declaration
public int FindPolygonHoleVertexNumberForVertex(PolygonID PolygonID, int HoleNumber, VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FindPolygonLoop(EdgeID)
Declaration
public (IReadOnlyCollection<EdgeID>, IReadOnlyCollection<EdgeID>, IReadOnlyCollection<EdgeID>, IReadOnlyCollection<PolygonID>) FindPolygonLoop(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<EdgeID>, System.Collections.Generic.IReadOnlyCollection<EdgeID>, System.Collections.Generic.IReadOnlyCollection<EdgeID>, System.Collections.Generic.IReadOnlyCollection<PolygonID>> |
|
|
Improve this Doc
View Source
FindPolygonPerimeterEdgeNumberForVertices(PolygonID, VertexID, VertexID)
Find Polygon Perimeter Edge Number for Vertices
Declaration
public int FindPolygonPerimeterEdgeNumberForVertices(PolygonID PolygonID, VertexID EdgeVertexID0, VertexID EdgeVertexID1)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FindPolygonPerimeterVertexNumberForVertex(PolygonID, VertexID)
Find Polygon Perimeter Vertex Number for Vertex
Declaration
public int FindPolygonPerimeterVertexNumberForVertex(PolygonID PolygonID, VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FlipPolygons(Byte)
Declaration
public void FlipPolygons(byte PolygonIDs)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
|
Improve this Doc
View Source
GeneratePolygonTangentsAndNormals(Byte)
Generate Polygon Tangents and Normals
Declaration
public void GeneratePolygonTangentsAndNormals(byte PolygonIDs)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
|
Improve this Doc
View Source
GetEdgeConnectedPolygon(EdgeID, Int32)
Returns the indexed polygon connected to this edge
Declaration
public PolygonID GetEdgeConnectedPolygon(EdgeID EdgeID, int ConnectedPolygonNumber)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
System.Int32 |
ConnectedPolygonNumber |
|
Returns
|
Improve this Doc
View Source
GetEdgeConnectedPolygonCount(EdgeID)
Returns the number of polygons connected to this edge
Declaration
public int GetEdgeConnectedPolygonCount(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetEdgeConnectedPolygons(EdgeID)
Get Edge Connected Polygons
Declaration
public IReadOnlyCollection<PolygonID> GetEdgeConnectedPolygons(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
GetEdgeCount()
Returns the number of edges in this mesh
Declaration
public int GetEdgeCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetEdgeLoopElements(EdgeID)
Declaration
public IReadOnlyCollection<EdgeID> GetEdgeLoopElements(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
GetEdgeThatConnectsVertices(VertexID, VertexID)
Get Edge That Connects Vertices
Declaration
public EdgeID GetEdgeThatConnectsVertices(VertexID VertexID0, VertexID VertexID1)
Parameters
Returns
|
Improve this Doc
View Source
GetEdgeVertex(EdgeID, Int32)
Returns the given indexed vertex for this edge. EdgeVertexNumber must be 0 or 1.
Declaration
public VertexID GetEdgeVertex(EdgeID EdgeID, int EdgeVertexNumber)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
System.Int32 |
EdgeVertexNumber |
|
Returns
|
Improve this Doc
View Source
GetEdgeVertices(EdgeID)
Declaration
public (VertexID, VertexID) GetEdgeVertices(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
|
Improve this Doc
View Source
GetFirstValidPolygonGroup()
Get First Valid Polygon Group
Declaration
public PolygonGroupID GetFirstValidPolygonGroup()
Returns
|
Improve this Doc
View Source
GetGroupForPolygon(PolygonID)
Returns the polygon group this polygon is assigned to
Declaration
public PolygonGroupID GetGroupForPolygon(PolygonID PolygonID)
Parameters
Returns
|
Improve this Doc
View Source
GetPolygonAdjacentPolygons(PolygonID)
Get Polygon Adjacent Polygons
Declaration
public IReadOnlyCollection<PolygonID> GetPolygonAdjacentPolygons(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
GetPolygonCount()
Returns the number of polygons in this mesh
Declaration
public int GetPolygonCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonCountInGroup(PolygonGroupID)
Returns the number of polygons in this polygon group
Declaration
public int GetPolygonCountInGroup(PolygonGroupID PolygonGroupID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonGroupCount()
Returns the number of polygon groups in this mesh
Declaration
public int GetPolygonGroupCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonHoleCount(PolygonID)
Returns the number of hole contours this polygon has
Declaration
public int GetPolygonHoleCount(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonHoleEdge(PolygonID, Int32, Int32)
Declaration
public EdgeID GetPolygonHoleEdge(PolygonID PolygonID, int HoleNumber, int HoleEdgeNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
System.Int32 |
HoleEdgeNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonHoleEdgeCount(PolygonID, Int32)
Get Polygon Hole Edge Count
Declaration
public int GetPolygonHoleEdgeCount(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonHoleEdges(PolygonID, Int32)
Declaration
public IReadOnlyCollection<EdgeID> GetPolygonHoleEdges(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
GetPolygonHoleVertex(PolygonID, Int32, Int32)
Returns the indexed vertex on the given hole contour of the polygon
Declaration
public VertexID GetPolygonHoleVertex(PolygonID PolygonID, int HoleNumber, int PolygonVertexNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
System.Int32 |
PolygonVertexNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonHoleVertexCount(PolygonID, Int32)
Returns the number of vertices on the indexed hole contour for this polygon
Declaration
public int GetPolygonHoleVertexCount(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonHoleVertexInstance(PolygonID, Int32, Int32)
Returns the indexed vertex instance on the given hole contour of the polygon
Declaration
public VertexInstanceID GetPolygonHoleVertexInstance(PolygonID PolygonID, int HoleNumber, int PolygonVertexNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
System.Int32 |
PolygonVertexNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonHoleVertexInstances(PolygonID, Int32)
Get Polygon Hole Vertex Instances
Declaration
public IReadOnlyCollection<VertexInstanceID> GetPolygonHoleVertexInstances(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexInstanceID> |
|
|
Improve this Doc
View Source
GetPolygonHoleVertices(PolygonID, Int32)
Get Polygon Hole Vertices
Declaration
public IReadOnlyCollection<VertexID> GetPolygonHoleVertices(PolygonID PolygonID, int HoleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
HoleNumber |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
GetPolygonInGroup(PolygonGroupID, Int32)
Returns the given indexed polygon in this polygon group
Declaration
public PolygonID GetPolygonInGroup(PolygonGroupID PolygonGroupID, int PolygonNumber)
Parameters
Type |
Name |
Description |
PolygonGroupID |
PolygonGroupID |
|
System.Int32 |
PolygonNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonPerimeterEdge(PolygonID, Int32)
Get Polygon Perimeter Edge
Declaration
public (bool, EdgeID) GetPolygonPerimeterEdge(PolygonID PolygonID, int PerimeterEdgeNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
PerimeterEdgeNumber |
|
Returns
Type |
Description |
System.ValueTuple<System.Boolean, EdgeID> |
|
|
Improve this Doc
View Source
GetPolygonPerimeterEdgeCount(PolygonID)
Get Polygon Perimeter Edge Count
Declaration
public int GetPolygonPerimeterEdgeCount(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonPerimeterEdges(PolygonID)
Get Polygon Perimeter Edges
Declaration
public IReadOnlyCollection<EdgeID> GetPolygonPerimeterEdges(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
GetPolygonPerimeterVertex(PolygonID, Int32)
Returns the indexed vertex on this polygon's perimeter
Declaration
public VertexID GetPolygonPerimeterVertex(PolygonID PolygonID, int PolygonVertexNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
PolygonVertexNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonPerimeterVertexCount(PolygonID)
Returns the number of vertices on this polygon's perimeter
Declaration
public int GetPolygonPerimeterVertexCount(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPolygonPerimeterVertexInstance(PolygonID, Int32)
Returns the indexed vertex instance on this polygon's perimeter
Declaration
public VertexInstanceID GetPolygonPerimeterVertexInstance(PolygonID PolygonID, int PolygonVertexNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
PolygonVertexNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonPerimeterVertexInstances(PolygonID)
Get Polygon Perimeter Vertex Instances
Declaration
public IReadOnlyCollection<VertexInstanceID> GetPolygonPerimeterVertexInstances(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexInstanceID> |
|
|
Improve this Doc
View Source
GetPolygonPerimeterVertices(PolygonID)
Get Polygon Perimeter Vertices
Declaration
public IReadOnlyCollection<VertexID> GetPolygonPerimeterVertices(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
GetPolygonTriangulatedTriangle(PolygonID, Int32)
Returns the indexed triangle of the triangulated polygon
Declaration
public MeshTriangle GetPolygonTriangulatedTriangle(PolygonID PolygonID, int PolygonTriangleNumber)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
PolygonTriangleNumber |
|
Returns
|
Improve this Doc
View Source
GetPolygonTriangulatedTriangleCount(PolygonID)
Returns the number of triangles which make up this polygon
Declaration
public int GetPolygonTriangulatedTriangleCount(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSubdivisionCount()
Declaration
public int GetSubdivisionCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSubdivisionLimitData(SubdivisionLimitData)
Get Subdivision Limit Data
Declaration
public void GetSubdivisionLimitData(SubdivisionLimitData ReturnValue)
Parameters
|
Improve this Doc
View Source
GetTextureCoordinateCount()
Get Texture Coordinate Count
Declaration
public int GetTextureCoordinateCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetVertexAdjacentVertices(VertexID)
Get Vertex Adjacent Vertices
Declaration
public IReadOnlyCollection<VertexID> GetVertexAdjacentVertices(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
GetVertexConnectedEdge(VertexID, Int32)
Returns the requested edge connected to this vertex
Declaration
public EdgeID GetVertexConnectedEdge(VertexID VertexID, int ConnectedEdgeNumber)
Parameters
Type |
Name |
Description |
VertexID |
VertexID |
|
System.Int32 |
ConnectedEdgeNumber |
|
Returns
|
Improve this Doc
View Source
GetVertexConnectedEdgeCount(VertexID)
Returns the number of edges connected to this vertex
Declaration
public int GetVertexConnectedEdgeCount(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetVertexConnectedEdges(VertexID)
Get Vertex Connected Edges
Declaration
public IReadOnlyCollection<EdgeID> GetVertexConnectedEdges(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
GetVertexConnectedPolygons(VertexID)
Get Vertex Connected Polygons
Declaration
public IReadOnlyCollection<PolygonID> GetVertexConnectedPolygons(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
GetVertexCount()
Returns the number of vertices in this mesh
Declaration
public int GetVertexCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetVertexInstanceConnectedPolygon(VertexInstanceID, Int32)
Returns the indexed polygon connected to this vertex instance
Declaration
public PolygonID GetVertexInstanceConnectedPolygon(VertexInstanceID VertexInstanceID, int ConnectedPolygonNumber)
Parameters
Type |
Name |
Description |
VertexInstanceID |
VertexInstanceID |
|
System.Int32 |
ConnectedPolygonNumber |
|
Returns
|
Improve this Doc
View Source
GetVertexInstanceConnectedPolygonCount(VertexInstanceID)
Returns the number of polygons connected to this vertex instance
Declaration
public int GetVertexInstanceConnectedPolygonCount(VertexInstanceID VertexInstanceID)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetVertexInstanceConnectedPolygons(VertexInstanceID)
Get Vertex Instance Connected Polygons
Declaration
public IReadOnlyCollection<PolygonID> GetVertexInstanceConnectedPolygons(VertexInstanceID VertexInstanceID)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
GetVertexInstanceCount()
Returns the number of vertex instances in this mesh
Declaration
public int GetVertexInstanceCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetVertexInstanceVertex(VertexInstanceID)
Returns the vertex ID which the given vertex instance is instancing
Declaration
public VertexID GetVertexInstanceVertex(VertexInstanceID VertexInstanceID)
Parameters
Returns
|
Improve this Doc
View Source
GetVertexPairEdge(VertexID, VertexID)
Declaration
public (bool, EdgeID) GetVertexPairEdge(VertexID VertexID, VertexID NextVertexID)
Parameters
Returns
Type |
Description |
System.ValueTuple<System.Boolean, EdgeID> |
|
|
Improve this Doc
View Source
InitializeAdapters()
Declaration
public void InitializeAdapters()
|
Improve this Doc
View Source
InsertEdgeLoop(EdgeID, Byte)
Declaration
public IReadOnlyCollection<EdgeID> InsertEdgeLoop(EdgeID EdgeID, byte Splits)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
System.Byte |
Splits |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
InsertPolygonPerimeterVertices(PolygonID, Int32, Byte)
Insert Polygon Perimeter Vertices
Declaration
public void InsertPolygonPerimeterVertices(PolygonID PolygonID, int InsertBeforeVertexNumber, byte VerticesToInsert)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
InsertBeforeVertexNumber |
|
System.Byte |
VerticesToInsert |
|
|
Improve this Doc
View Source
InsetPolygons(Byte, Single, Single, EInsetPolygonsMode)
Declaration
public (IReadOnlyCollection<PolygonID>, IReadOnlyCollection<PolygonID>) InsetPolygons(byte PolygonIDs, float InsetFixedDistance, float InsetProgressTowardCenter, EInsetPolygonsMode Mode)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
System.Single |
InsetFixedDistance |
|
System.Single |
InsetProgressTowardCenter |
|
EInsetPolygonsMode |
Mode |
|
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<PolygonID>, System.Collections.Generic.IReadOnlyCollection<PolygonID>> |
|
|
Improve this Doc
View Source
InvalidEdgeID()
Declaration
public static EdgeID InvalidEdgeID()
Returns
|
Improve this Doc
View Source
InvalidPolygonGroupID()
Declaration
public static PolygonGroupID InvalidPolygonGroupID()
Returns
|
Improve this Doc
View Source
InvalidPolygonID()
Declaration
public static PolygonID InvalidPolygonID()
Returns
|
Improve this Doc
View Source
InvalidVertexID()
Declaration
public static VertexID InvalidVertexID()
Returns
|
Improve this Doc
View Source
IsBeingModified()
@return Returns true if StartModification() was called and the mesh is able to be modified currently. Remember to call EndModification() when finished.
Declaration
public bool IsBeingModified()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCommitted()
Declaration
public bool IsCommitted()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCommittedAsInstance()
Declaration
public bool IsCommittedAsInstance()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCompactAllowed()
@return Returns true if compaction is enabled on this mesh
Declaration
public bool IsCompactAllowed()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsOrphanedVertex(VertexID)
Returns whether the given vertex ID is orphaned
Declaration
public bool IsOrphanedVertex(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPreviewingSubdivisions()
Is Previewing Subdivisions
Declaration
public bool IsPreviewingSubdivisions()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSpatialDatabaseAllowed()
@return Returns true if our octree spatial database is enabled for this mesh
Declaration
public bool IsSpatialDatabaseAllowed()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUndoAllowed()
@return Returns true if undo tracking is enabled on this mesh
Declaration
public bool IsUndoAllowed()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValidEdge(EdgeID)
Returns whether the given edge ID is valid
Declaration
public bool IsValidEdge(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValidPolygon(PolygonID)
Returns whether the given polygon ID is valid
Declaration
public bool IsValidPolygon(PolygonID PolygonID)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValidPolygonGroup(PolygonGroupID)
Returns whether the given polygon group ID is valid
Declaration
public bool IsValidPolygonGroup(PolygonGroupID PolygonGroupID)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValidVertex(VertexID)
Returns whether the given vertex ID is valid
Declaration
public bool IsValidVertex(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MakeEdgeID(Int32)
Declaration
public static EdgeID MakeEdgeID(int EdgeIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
EdgeIndex |
|
Returns
|
Improve this Doc
View Source
MakePolygonGroupID(Int32)
Declaration
public static PolygonGroupID MakePolygonGroupID(int PolygonGroupIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
PolygonGroupIndex |
|
Returns
|
Improve this Doc
View Source
MakePolygonID(Int32)
Declaration
public static PolygonID MakePolygonID(int PolygonIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
PolygonIndex |
|
Returns
|
Improve this Doc
View Source
MakeVertexID(Int32)
Declaration
public static VertexID MakeVertexID(int VertexIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
VertexIndex |
|
Returns
|
Improve this Doc
View Source
MoveVertices(Byte)
Declaration
public void MoveVertices(byte VerticesToMove)
Parameters
Type |
Name |
Description |
System.Byte |
VerticesToMove |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static EditableMesh New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
PropagateInstanceChanges()
Propagate Instance Changes
Declaration
public void PropagateInstanceChanges()
|
Improve this Doc
View Source
QuadrangulateMesh()
Declaration
public IReadOnlyCollection<PolygonID> QuadrangulateMesh()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
RebuildRenderMesh()
Declaration
public void RebuildRenderMesh()
|
Improve this Doc
View Source
RemovePolygonPerimeterVertices(PolygonID, Int32, Int32, Boolean)
Remove Polygon Perimeter Vertices
Declaration
public void RemovePolygonPerimeterVertices(PolygonID PolygonID, int FirstVertexNumberToRemove, int NumVerticesToRemove, bool bDeleteOrphanedVertexInstances)
Parameters
Type |
Name |
Description |
PolygonID |
PolygonID |
|
System.Int32 |
FirstVertexNumberToRemove |
|
System.Int32 |
NumVerticesToRemove |
|
System.Boolean |
bDeleteOrphanedVertexInstances |
|
|
Improve this Doc
View Source
Revert()
Declaration
|
Improve this Doc
View Source
RevertInstance()
Declaration
public EditableMesh RevertInstance()
Returns
|
Improve this Doc
View Source
SearchSpatialDatabaseForPolygonsInVolume(Byte)
Search Spatial Database for Polygons in Volume
Declaration
public IReadOnlyCollection<PolygonID> SearchSpatialDatabaseForPolygonsInVolume(byte Planes)
Parameters
Type |
Name |
Description |
System.Byte |
Planes |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
SearchSpatialDatabaseForPolygonsPotentiallyIntersectingLineSegment(Vector, Vector)
Search Spatial Database for Polygons Potentially Intersecting Line Segment
Declaration
public IReadOnlyCollection<PolygonID> SearchSpatialDatabaseForPolygonsPotentiallyIntersectingLineSegment(Vector LineSegmentStart, Vector LineSegmentEnd)
Parameters
Type |
Name |
Description |
Vector |
LineSegmentStart |
|
Vector |
LineSegmentEnd |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
SetAllowCompact(Boolean)
Sets whether the mesh can be sporadically compacted as modifications are performed
@
Declaration
public void SetAllowCompact(bool bInAllowCompact)
Parameters
Type |
Name |
Description |
System.Boolean |
bInAllowCompact |
|
|
Improve this Doc
View Source
SetAllowSpatialDatabase(Boolean)
Sets whether this mesh should automatically generate and maintain an octree spatial database.
Declaration
public void SetAllowSpatialDatabase(bool bInAllowSpatialDatabase)
Parameters
Type |
Name |
Description |
System.Boolean |
bInAllowSpatialDatabase |
|
|
Improve this Doc
View Source
SetAllowUndo(Boolean)
Sets whether undo is allowed on this mesh
@
Declaration
public void SetAllowUndo(bool bInAllowUndo)
Parameters
Type |
Name |
Description |
System.Boolean |
bInAllowUndo |
|
|
Improve this Doc
View Source
SetEdgesAttributes(Byte)
Declaration
public void SetEdgesAttributes(byte AttributesForEdges)
Parameters
Type |
Name |
Description |
System.Byte |
AttributesForEdges |
|
|
Improve this Doc
View Source
SetEdgesCreaseSharpness(Byte, Byte)
Set Edges Crease Sharpness
Declaration
public void SetEdgesCreaseSharpness(byte EdgeIDs, byte EdgesNewCreaseSharpness)
Parameters
Type |
Name |
Description |
System.Byte |
EdgeIDs |
|
System.Byte |
EdgesNewCreaseSharpness |
|
|
Improve this Doc
View Source
SetEdgesHardness(Byte, Byte)
Declaration
public void SetEdgesHardness(byte EdgeIDs, byte EdgesNewIsHard)
Parameters
Type |
Name |
Description |
System.Byte |
EdgeIDs |
|
System.Byte |
EdgesNewIsHard |
|
|
Improve this Doc
View Source
SetEdgesHardnessAutomatically(Byte, Single)
Set Edges Hardness Automatically
Declaration
public void SetEdgesHardnessAutomatically(byte EdgeIDs, float MaxDotProductForSoftEdge)
Parameters
Type |
Name |
Description |
System.Byte |
EdgeIDs |
|
System.Single |
MaxDotProductForSoftEdge |
|
|
Improve this Doc
View Source
SetEdgesVertices(Byte)
@todo mesheditor: Not used for anything yet. Remove it? Use it during import/convert?
Declaration
public void SetEdgesVertices(byte VerticesForEdges)
Parameters
Type |
Name |
Description |
System.Byte |
VerticesForEdges |
|
|
Improve this Doc
View Source
SetPolygonsVertexAttributes(Byte)
Set Polygons Vertex Attributes
Declaration
public void SetPolygonsVertexAttributes(byte VertexAttributesForPolygons)
Parameters
Type |
Name |
Description |
System.Byte |
VertexAttributesForPolygons |
|
|
Improve this Doc
View Source
SetSubdivisionCount(Int32)
Declaration
public void SetSubdivisionCount(int NewSubdivisionCount)
Parameters
Type |
Name |
Description |
System.Int32 |
NewSubdivisionCount |
|
|
Improve this Doc
View Source
SetTextureCoordinateCount(Int32)
Set Texture Coordinate Count
Declaration
public void SetTextureCoordinateCount(int NumTexCoords)
Parameters
Type |
Name |
Description |
System.Int32 |
NumTexCoords |
|
|
Improve this Doc
View Source
SetVertexInstancesAttributes(Byte)
Set Vertex Instances Attributes
Declaration
public void SetVertexInstancesAttributes(byte AttributesForVertexInstances)
Parameters
Type |
Name |
Description |
System.Byte |
AttributesForVertexInstances |
|
|
Improve this Doc
View Source
SetVerticesAttributes(Byte)
Declaration
public void SetVerticesAttributes(byte AttributesForVertices)
Parameters
Type |
Name |
Description |
System.Byte |
AttributesForVertices |
|
|
Improve this Doc
View Source
SetVerticesCornerSharpness(Byte, Byte)
Set Vertices Corner Sharpness
Declaration
public void SetVerticesCornerSharpness(byte VertexIDs, byte VerticesNewCornerSharpness)
Parameters
Type |
Name |
Description |
System.Byte |
VertexIDs |
|
System.Byte |
VerticesNewCornerSharpness |
|
|
Improve this Doc
View Source
SplitEdge(EdgeID, Byte)
Declaration
public IReadOnlyCollection<VertexID> SplitEdge(EdgeID EdgeID, byte Splits)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
System.Byte |
Splits |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<VertexID> |
|
|
Improve this Doc
View Source
SplitPolygons(Byte)
Declaration
public IReadOnlyCollection<EdgeID> SplitPolygons(byte PolygonsToSplit)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonsToSplit |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<EdgeID> |
|
|
Improve this Doc
View Source
StartModification(EMeshModificationType, EMeshTopologyChange)
Declaration
public void StartModification(EMeshModificationType MeshModificationType, EMeshTopologyChange MeshTopologyChange)
Parameters
|
Improve this Doc
View Source
TessellatePolygons(Byte, ETriangleTessellationMode)
Declaration
public IReadOnlyCollection<PolygonID> TessellatePolygons(byte PolygonIDs, ETriangleTessellationMode TriangleTessellationMode)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
TriangulatePolygons(Byte)
Declaration
public IReadOnlyCollection<PolygonID> TriangulatePolygons(byte PolygonIDs)
Parameters
Type |
Name |
Description |
System.Byte |
PolygonIDs |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<PolygonID> |
|
|
Improve this Doc
View Source
TryToRemovePolygonEdge(EdgeID)
Try to Remove Polygon Edge
Declaration
public (bool, PolygonID) TryToRemovePolygonEdge(EdgeID EdgeID)
Parameters
Type |
Name |
Description |
EdgeID |
EdgeID |
|
Returns
Type |
Description |
System.ValueTuple<System.Boolean, PolygonID> |
|
|
Improve this Doc
View Source
TryToRemoveVertex(VertexID)
Declaration
public (bool, EdgeID) TryToRemoveVertex(VertexID VertexID)
Parameters
Returns
Type |
Description |
System.ValueTuple<System.Boolean, EdgeID> |
|
|
Improve this Doc
View Source
WeldVertices(Byte)
Declaration
public VertexID WeldVertices(byte VertexIDs)
Parameters
Type |
Name |
Description |
System.Byte |
VertexIDs |
|
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to EditableMesh)
Convert from IntPtr to UObject
Declaration
public static implicit operator EditableMesh(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns