Package jolt.physics.collision.shape
Class ConvexShapeSettings
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.collision.shape.ShapeSettings
jolt.physics.collision.shape.ConvexShapeSettings
- All Implemented Interfaces:
Deletable,JoltNative
- Direct Known Subclasses:
BoxShapeSettings,CapsuleShapeSettings,ConvexHullShapeSettings,CylinderShapeSettings,SphereShapeSettings,TaperedCapsuleShapeSettings,TriangleShapeSettings
public sealed class ConvexShapeSettings
extends ShapeSettings
permits SphereShapeSettings, BoxShapeSettings, TriangleShapeSettings, CapsuleShapeSettings, TaperedCapsuleShapeSettings, CylinderShapeSettings, ConvexHullShapeSettings
ConvexShapeSettings relies on preview features of the Java platform:
ConvexShapeSettingsrefers to one or more preview APIs:MemoryAddress.
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 ConvexShapeSettingsat(MemoryAddressPREVIEW addr) floatvoidsetDensity(float density) voidsetMaterial(PhysicsMaterial material) Methods inherited from class jolt.physics.collision.shape.ShapeSettings
create, deleteInternal, getUserData, setUserDataMethods inherited from class jolt.DeletableJoltNative
delete, isDeletedMethods inherited from class jolt.AddressedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Constructor Details
-
ConvexShapeSettings
-
-
Method Details
-
at
-
getMaterial
-
setMaterial
-
getDensity
public float getDensity() -
setDensity
public void setDensity(float density)
-
ConvexShapeSettingswhen preview features are enabled.