Class ExtrudeElements
Contains functions to help with face and edge extrusion.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
public static class ExtrudeElements
Methods
Name | Description |
---|---|
DetachFaces(ProBuilderMesh, IEnumerable<Face>) | Splits any shared vertices so that this face may be moved independently of the GameObject. This is the equivalent of the Detach Faces action. |
DetachFaces(ProBuilderMesh, IEnumerable<Face>, bool) | Splits any shared vertices so that this face may be moved independently of the GameObject and optionally deletes the faces on the source geometry. This is the equivalent of the Detach Faces action. |
Extrude(ProBuilderMesh, IEnumerable<Edge>, float, bool, bool) | Extrudes a collection of edges. This is the equivalent of the Extrude Edges action. |
Extrude(ProBuilderMesh, IEnumerable<Face>, ExtrudeMethod, float) | Extrudes a collection of faces. This is the equivalent of the Extrude Faces action. |