Class PhysicsMaterialSimple

All Implemented Interfaces:
ConstJoltPhysicsObject, ConstPhysicsMaterial, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>

public class PhysicsMaterialSimple extends PhysicsMaterial
A straightforward implementation of PhysicsMaterial.
  • Constructor Details

    • PhysicsMaterialSimple

      public PhysicsMaterialSimple()
      Instantiate a default material.
    • PhysicsMaterialSimple

      public PhysicsMaterialSimple(String name, ConstColor color)
      Instantiate a material.
      Parameters:
      name - the desired name
      color - the desired color (not null, unaffected)