Package jolt.physics.collision
Class ContactSettings
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.ContactSettings
- All Implemented Interfaces:
JoltNative
ContactSettings relies on preview features of the Java platform:
ContactSettingsrefers 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 ContactSettingsat(MemorySegmentPREVIEW segment) static ContactSettingsat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) floatfloatstatic ContactSettingsof(SegmentAllocatorPREVIEW alloc) voidsetCombinedFriction(float combinedFriction) voidsetCombinedRestitution(float combinedRestitution) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
getCombinedFriction
public float getCombinedFriction() -
setCombinedFriction
public void setCombinedFriction(float combinedFriction) -
getCombinedRestitution
public float getCombinedRestitution() -
setCombinedRestitution
public void setCombinedRestitution(float combinedRestitution)
-
ContactSettingswhen preview features are enabled.