Class CylinderShapeSettings

All Implemented Interfaces:
Deletable, JoltNative

public final class CylinderShapeSettings extends ConvexShapeSettings
CylinderShapeSettings relies on preview features of the Java platform:
  • CylinderShapeSettings refers to one or more preview APIs: MemoryAddress.
Programs can only use CylinderShapeSettings when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  • Method Details

    • at

    • of

      public static CylinderShapeSettings of(float halfHeight, float radius, float convexRadius, @Nullable PhysicsMaterial material)
    • of

      public static CylinderShapeSettings of(float halfHeight, float radius, float convexRadius)
    • of

      public static CylinderShapeSettings of(float halfHeight, float radius)
    • getHalfHeight

      public float getHalfHeight()
    • setHalfHeight

      public void setHalfHeight(float halfHeight)
    • getRadius

      public float getRadius()
    • setRadius

      public void setRadius(float radius)
    • getConvexRadius

      public float getConvexRadius()
    • setConvexRadius

      public void setConvexRadius(float convexRadius)