Interface ConstPhysicsMaterial

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject, ConstSerializableObject
All Known Implementing Classes:
PhysicsMaterial, PhysicsMaterialSimple

public interface ConstPhysicsMaterial extends ConstSerializableObject
Read-only access to a PhysicsMaterial. (native type: const PhysicsMaterial)
  • Method Details

    • getDebugColor

      Color getDebugColor()
      Copy the debug color. The material is unaffected.
      Returns:
      a new object
    • getDebugName

      String getDebugName()
      Return the debug name. The material is unaffected.
      Returns:
      a string of text or null
    • saveBinaryState

      void saveBinaryState(StreamOut stream)
      Save the material to the specified binary stream. The material is unaffected.
      Parameters:
      stream - the stream to write to (not null)
    • toRefC

      Create a counted reference to the native PhysicsMaterial.
      Returns:
      a new JVM object with a new native object assigned