java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.VertexArray
All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>
Direct Known Subclasses:
CsrFace, SupportingFace

public class VertexArray extends JoltPhysicsObject
A static array of 3-D vectors, backed by a fixed-length buffer. (native type: StaticArray<Vec3,numVectors>)
  • Method Details

    • capacity

      public int capacity()
      Return the capacity of the array.
      Returns:
      the capacity (in vectors, >0)