Package jolt.physics.collision
Class RayCastResult
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.BroadPhaseCastResult
jolt.physics.collision.RayCastResult
- All Implemented Interfaces:
JoltNative
RayCastResult relies on preview features of the Java platform:
RayCastResultrefers 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 RayCastResultat(MemorySegmentPREVIEW segment) static RayCastResultat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) intstatic RayCastResultof(SegmentAllocatorPREVIEW alloc) voidsetSubShapeId(int subShapeId) Methods inherited from class jolt.physics.collision.BroadPhaseCastResult
getBodyId, getFraction, setBodyId, setFractionMethods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
getSubShapeId
public int getSubShapeId() -
setSubShapeId
public void setSubShapeId(int subShapeId)
-
RayCastResultwhen preview features are enabled.