Package jolt.physics.collision.shape
Class TaperedCapsuleShapeSettings
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.collision.shape.ShapeSettings
jolt.physics.collision.shape.ConvexShapeSettings
jolt.physics.collision.shape.TaperedCapsuleShapeSettings
- All Implemented Interfaces:
Deletable,JoltNative
TaperedCapsuleShapeSettings relies on preview features of the Java platform:
TaperedCapsuleShapeSettingsrefers 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 TaperedCapsuleShapeSettingsat(MemoryAddressPREVIEW addr) floatfloatfloatstatic TaperedCapsuleShapeSettingsof(float halfHeight, float topRadius, float bottomRadius) static TaperedCapsuleShapeSettingsof(float halfHeight, float topRadius, float bottomRadius, PhysicsMaterial material) voidsetBottomRadius(float bottomRadius) voidsetHalfHeight(float halfHeight) voidsetTopRadius(float topRadius) 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 TaperedCapsuleShapeSettings of(float halfHeight, float topRadius, float bottomRadius, @Nullable PhysicsMaterial material) -
of
-
getHalfHeight
public float getHalfHeight() -
setHalfHeight
public void setHalfHeight(float halfHeight) -
getTopRadius
public float getTopRadius() -
setTopRadius
public void setTopRadius(float topRadius) -
getBottomRadius
public float getBottomRadius() -
setBottomRadius
public void setBottomRadius(float bottomRadius)
-
TaperedCapsuleShapeSettingswhen preview features are enabled.