Package jolt.physics.collision
Class BroadPhaseCastResult
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.BroadPhaseCastResult
- All Implemented Interfaces:
JoltNative
- Direct Known Subclasses:
RayCastResult
BroadPhaseCastResult relies on preview features of the Java platform:
BroadPhaseCastResultrefers 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BroadPhaseCastResultat(MemorySegmentPREVIEW segment) static BroadPhaseCastResultat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) intfloatstatic BroadPhaseCastResultof(SegmentAllocatorPREVIEW alloc) voidsetBodyId(int bodyId) voidsetFraction(float fraction) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Constructor Details
-
BroadPhaseCastResult
-
-
Method Details
-
at
-
at
-
of
-
getBodyId
public int getBodyId() -
setBodyId
public void setBodyId(int bodyId) -
getFraction
public float getFraction() -
setFraction
public void setFraction(float fraction)
-
BroadPhaseCastResultwhen preview features are enabled.