Class CollideShapeBodyCollector
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.CollisionCollector
jolt.physics.collision.broadphase.CollideShapeBodyCollector
- All Implemented Interfaces:
JoltNative
CollideShapeBodyCollector relies on preview features of the Java platform:
CollideShapeBodyCollectorrefers 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.
-
Field Summary
Fields inherited from class jolt.SegmentedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic CollideShapeBodyCollectorat(MemorySegmentPREVIEW segment) static CollideShapeBodyCollectorat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) voidgetContext(MemorySessionPREVIEW arena) floatstatic CollideShapeBodyCollectorof(MemorySessionPREVIEW arena, CollideShapeBodyCollectorFn impl) static CollideShapeBodyCollectorof(SegmentAllocatorPREVIEW alloc) voidsetContext(TransformedShape context) booleanMethods inherited from class jolt.physics.collision.CollisionCollector
reset, resetEarlyOutFraction, updateEarlyOutFractionMethods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
of
public static CollideShapeBodyCollector of(MemorySessionPREVIEW arena, CollideShapeBodyCollectorFn impl) -
getEarlyOutFraction
public float getEarlyOutFraction()- Specified by:
getEarlyOutFractionin classCollisionCollector
-
getContext
- Specified by:
getContextin classCollisionCollector
-
setContext
- Specified by:
setContextin classCollisionCollector
-
forceEarlyOut
public void forceEarlyOut()- Specified by:
forceEarlyOutin classCollisionCollector
-
shouldEarlyOut
public boolean shouldEarlyOut()- Specified by:
shouldEarlyOutin classCollisionCollector
-
CollideShapeBodyCollectorwhen preview features are enabled.