bool IsOpen { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsOpen property of the MeshEdge struct in the Editor.MeshEditor namespace indicates whether the mesh edge is open. An open edge is one that is not fully enclosed by other mesh elements, such as faces or vertices. This property is useful for determining the boundary edges of a mesh.

Usage

To use the IsOpen property, you need to have an instance of the MeshEdge struct. You can then access the property to check if the edge is open:

MeshEdge edge = new MeshEdge();
bool isEdgeOpen = edge.IsOpen;

Note that this property is marked with the Sandbox.HideAttribute and System.Text.Json.Serialization.JsonIgnoreAttribute, which means it is hidden from the editor and ignored during JSON serialization.

Example

MeshEdge edge = new MeshEdge();
if (edge.IsOpen)
{
    // Handle open edge logic here
    // For example, you might want to highlight the edge in the editor
}