Package jolt.physics.collision
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:
ContactManifoldrefers to one or more preview APIs:MemoryAddress,MemorySegment,MemorySession,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classprotected static final class -
Field Summary
Fields inherited from class jolt.SegmentedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactManifoldat(MemorySegmentPREVIEW segment) static ContactManifoldat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) abstract DVec3abstract FVec3abstract floatabstract intabstract intabstract FVec3static ContactManifoldof(SegmentAllocatorPREVIEW alloc) abstract voidsetPenetrationDepth(float penetrationDepth) abstract voidsetSubShapeId1(int subShapeId1) abstract voidsetSubShapeId2(int subShapeId2) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
getBaseOffsetF
-
getBaseOffsetD
-
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)
-
ContactManifoldwhen preview features are enabled.