Interface ConstPhysicsMaterial

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

public interface ConstPhysicsMaterial extends ConstJoltPhysicsObject
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
    • toRefC

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