Class ContactManifold

java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.ContactManifold
All Implemented Interfaces:
JoltNative
Direct Known Subclasses:
ContactManifold.D, ContactManifold.F

public abstract sealed class ContactManifold extends SegmentedJoltNative permits ContactManifold.F, ContactManifold.D
ContactManifold relies on preview features of the Java platform:
Programs can only use ContactManifold 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

      public static ContactManifold at(MemorySegmentPREVIEW segment)
    • at

    • of

      public static ContactManifold of(SegmentAllocatorPREVIEW alloc)
    • getBaseOffsetF

      public abstract FVec3 getBaseOffsetF()
    • getBaseOffsetD

      public abstract DVec3 getBaseOffsetD()
    • getWorldSpaceNormal

      public abstract FVec3 getWorldSpaceNormal()
    • getPenetrationDepth

      public abstract float getPenetrationDepth()
    • setPenetrationDepth

      public abstract void setPenetrationDepth(float penetrationDepth)
    • getSubShapeId1

      public abstract int getSubShapeId1()
    • setSubShapeId1

      public abstract void setSubShapeId1(int subShapeId1)
    • getSubShapeId2

      public abstract int getSubShapeId2()
    • setSubShapeId2

      public abstract void setSubShapeId2(int subShapeId2)