Interface ConstSStrand
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject,ConstRStrand
- All Known Implementing Classes:
SStrand
Read-only access to an
SStrand. (native type:
const HairSettings::SStrand)-
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVaMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstRStrand
getEndVtx, getStartVtx, vertexCount
-
Method Details
-
getMaterialIndex
int getMaterialIndex()Return the index of the material. The strand is unaffected.- Returns:
- the material index
-