Interface ConstSoftBodySharedSettings

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
SoftBodySharedSettings, SoftBodySharedSettingsRef

public interface ConstSoftBodySharedSettings extends ConstJoltPhysicsObject
Read-only access to a SoftBodySharedSettings object. (native type: const SoftBodySharedSettings)
  • Method Details

    • countEdgeConstraints

      int countEdgeConstraints()
      Count the edge constraints. The settings are unaffected.
      Returns:
      the count (≥0)
    • countFaces

      int countFaces()
      Count the faces. The settings are unaffected.
      Returns:
      the count (≥0)
    • countPinnedVertices

      int countPinnedVertices()
      Count the pinned vertices. The settings are unaffected.
      Returns:
      the count (≥0)
    • countVertices

      int countVertices()
      Count the vertices. The settings are unaffected.
      Returns:
      the count (≥0)
    • countVolumeConstraints

      int countVolumeConstraints()
      Count the volume constraints. The settings are unaffected.
      Returns:
      the count (≥0)
    • getVertexRadius

      float getVertexRadius()
      Return the radius of each particle. The settings are unaffected.
      Returns:
      the radius (in meters)
    • putEdgeIndices

      void putEdgeIndices(IntBuffer storeIndices)
      Write the vertex indices of all edges to the specified buffer and advance the buffer's position. The settings are unaffected.
      Parameters:
      storeIndices - the destination buffer (not null, modified)
    • putFaceIndices

      void putFaceIndices(IntBuffer storeIndices)
      Write the vertex indices of all faces to the specified buffer and advance the buffer's position. The settings are unaffected.
      Parameters:
      storeIndices - the destination buffer (not null, modified)