Package jolt.physics.collision.shape
Class ConvexHullShapeSettings
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.collision.shape.ShapeSettings
jolt.physics.collision.shape.ConvexShapeSettings
jolt.physics.collision.shape.ConvexHullShapeSettings
- All Implemented Interfaces:
Deletable,JoltNative
ConvexHullShapeSettings relies on preview features of the Java platform:
ConvexHullShapeSettingsrefers 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic ConvexHullShapeSettingsat(MemoryAddressPREVIEW addr) floatfloatfloatstatic ConvexHullShapeSettingsof(Collection<FVec3> points) static ConvexHullShapeSettingsof(Collection<FVec3> points, float convexRadius) static ConvexHullShapeSettingsof(Collection<FVec3> points, float convexRadius, PhysicsMaterial material) static ConvexHullShapeSettingsstatic ConvexHullShapeSettingsstatic ConvexHullShapeSettingsof(FVec3[] points, float convexRadius, PhysicsMaterial material) voidsetHullTolerance(float hullTolerance) voidsetMaxConvexRadius(float maxConvexRadius) voidsetMaxErrorConvexRadius(float maxErrorConvexRadius) Methods inherited from class jolt.physics.collision.shape.ConvexShapeSettings
getDensity, getMaterial, setDensity, setMaterialMethods 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
-
Method Details
-
at
-
of
public static ConvexHullShapeSettings of(FVec3[] points, float convexRadius, @Nullable PhysicsMaterial material) -
of
public static ConvexHullShapeSettings of(Collection<FVec3> points, float convexRadius, @Nullable PhysicsMaterial material) -
of
-
of
-
of
-
of
-
getMaxConvexRadius
public float getMaxConvexRadius() -
setMaxConvexRadius
public void setMaxConvexRadius(float maxConvexRadius) -
getMaxErrorConvexRadius
public float getMaxErrorConvexRadius() -
setMaxErrorConvexRadius
public void setMaxErrorConvexRadius(float maxErrorConvexRadius) -
getHullTolerance
public float getHullTolerance() -
setHullTolerance
public void setHullTolerance(float hullTolerance)
-
ConvexHullShapeSettingswhen preview features are enabled.