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
A static array of 3-D vectors, backed by a fixed-length buffer. (native type:
StaticArray<Vec3,numVectors>
)-
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
capacity
public int capacity()Return the capacity of the array.- Returns:
- the capacity (in vectors, >0)
-