MeshPartclass

objectPartMeshPart
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.PhysicsGroupDescription.BodyPart.MeshPart : Sandbox.PhysicsGroupDescription.BodyPart.Part

Methods3

Showing 3 methods

public int[] GetIndices()PUBLIC

Get all triangle indices in this mesh. Every 3 consecutive values form a triangle.

Returns:int[]

public System.Collections.Generic.IEnumerable`1<Sandbox.Triangle> GetTriangles()PUBLIC

For debug rendering

Returns:IEnumerable<Triangle>

public Vector3[] GetVertices()PUBLIC

Get all vertices in this mesh.

Returns:Vector3[]

Properties2

Showing 2 properties

On this page