Class CastShapeBodyCollector
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.CollisionCollector
jolt.physics.collision.broadphase.CastShapeBodyCollector
- All Implemented Interfaces:
JoltNative
CastShapeBodyCollector relies on preview features of the Java platform:
CastShapeBodyCollectorrefers 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 CastShapeBodyCollectorat(MemorySegmentPREVIEW segment) static CastShapeBodyCollectorat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) voidgetContext(MemorySessionPREVIEW arena) floatstatic CastShapeBodyCollectorof(MemorySessionPREVIEW arena, CastShapeBodyCollectorFn impl) static CastShapeBodyCollectorof(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
-
CastShapeBodyCollectorwhen preview features are enabled.