Package jolt.physics.collision
Class CollideShapeResult
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.CollideShapeResult
- All Implemented Interfaces:
JoltNative
CollideShapeResult relies on preview features of the Java platform:
CollideShapeResultrefers 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 CollideShapeResultat(MemorySegmentPREVIEW segment) static CollideShapeResultat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) intfloatfloatintintstatic CollideShapeResultof(SegmentAllocatorPREVIEW alloc) voidvoidsetBodyId2(int bodyId2) voidsetPenetrationDepth(float penetrationDepth) voidsetSubShapeId1(int subShapeId1) voidsetSubShapeId2(int subShapeId2) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
getContactPointOn1
-
getContactPointOn2
-
getPenetrationAxis
-
getPenetrationDepth
public float getPenetrationDepth() -
setPenetrationDepth
public void setPenetrationDepth(float penetrationDepth) -
getSubShapeId1
public int getSubShapeId1() -
setSubShapeId1
public void setSubShapeId1(int subShapeId1) -
getSubShapeId2
public int getSubShapeId2() -
setSubShapeId2
public void setSubShapeId2(int subShapeId2) -
getBodyId2
public int getBodyId2() -
setBodyId2
public void setBodyId2(int bodyId2) -
getEarlyOutFraction
public float getEarlyOutFraction() -
reversed
-
CollideShapeResultwhen preview features are enabled.