Package jolt.physics.collision
Class CollideShapeCollector
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.CollisionCollector
jolt.physics.collision.CollideShapeCollector
- All Implemented Interfaces:
JoltNative
CollideShapeCollector relies on preview features of the Java platform:
CollideShapeCollectorrefers 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 CollideShapeCollectorat(MemorySegmentPREVIEW segment) static CollideShapeCollectorat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) voidgetContext(MemorySessionPREVIEW arena) floatstatic CollideShapeCollectorof(MemorySessionPREVIEW arena, CollideShapeCollectorFn impl) static CollideShapeCollectorof(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
-
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
-
CollideShapeCollectorwhen preview features are enabled.