Package jolt.physics.collision.shape
Class SubShapeIdPair
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.shape.SubShapeIdPair
- All Implemented Interfaces:
JoltNative
SubShapeIdPair relies on preview features of the Java platform:
SubShapeIdPairrefers 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 SubShapeIdPairat(MemorySegmentPREVIEW segment) static SubShapeIdPairat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) intintintintstatic SubShapeIdPairof(SegmentAllocatorPREVIEW alloc) voidsetBodyId1(int bodyId1) voidsetBodyId2(int bodyId2) 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
-
getBodyId1
public int getBodyId1() -
setBodyId1
public void setBodyId1(int bodyId1) -
getSubShapeId1
public int getSubShapeId1() -
setSubShapeId1
public void setSubShapeId1(int subShapeId1) -
getBodyId2
public int getBodyId2() -
setBodyId2
public void setBodyId2(int bodyId2) -
getSubShapeId2
public int getSubShapeId2() -
setSubShapeId2
public void setSubShapeId2(int subShapeId2)
-
SubShapeIdPairwhen preview features are enabled.