Package jolt.physics.collision.shape
Class ShapeSettings
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.collision.shape.ShapeSettings
- All Implemented Interfaces:
Deletable,JoltNative
- Direct Known Subclasses:
CompoundShapeSettings,ConvexShapeSettings,DecoratedShapeSettings,HeightFieldShapeSettings,MeshShapeSettings
public sealed class ShapeSettings
extends DeletableJoltNative
permits ConvexShapeSettings, CompoundShapeSettings, DecoratedShapeSettings, MeshShapeSettings, HeightFieldShapeSettings
ShapeSettings relies on preview features of the Java platform:
ShapeSettingsrefers to one or more preview APIs:MemoryAddress,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.DeletableJoltNative
deletedFields inherited from class jolt.AddressedJoltNative
handle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeSettingsat(MemoryAddressPREVIEW addr) create(SegmentAllocatorPREVIEW alloc) protected voidlongvoidsetUserData(long userData) Methods inherited from class jolt.DeletableJoltNative
delete, isDeletedMethods inherited from class jolt.AddressedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Constructor Details
-
ShapeSettings
-
-
Method Details
-
at
-
deleteInternal
protected void deleteInternal()- Specified by:
deleteInternalin classDeletableJoltNative
-
getUserData
public long getUserData() -
setUserData
public void setUserData(long userData) -
create
-
ShapeSettingswhen preview features are enabled.