Package jolt.physics.collision.shape
Class HeightFieldShapeSettings
java.lang.Object
jolt.BaseJoltNative
jolt.AddressedJoltNative
jolt.DeletableJoltNative
jolt.physics.collision.shape.ShapeSettings
jolt.physics.collision.shape.HeightFieldShapeSettings
- All Implemented Interfaces:
Deletable,JoltNative
HeightFieldShapeSettings relies on preview features of the Java platform:
HeightFieldShapeSettingsrefers 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 HeightFieldShapeSettingsat(MemoryAddressPREVIEW addr) intintvoidvoidstatic HeightFieldShapeSettingsof(HeightFieldSamples samples, int size, FVec3 offset, FVec3 scale, HeightFieldMaterialIndices indices, PhysicsMaterial[] materials) voidsetBitsPerSample(int bitsPerSample) voidsetBlockSize(int blockSize) voidvoidMethods 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 HeightFieldShapeSettings of(HeightFieldSamples samples, int size, FVec3 offset, FVec3 scale, HeightFieldMaterialIndices indices, PhysicsMaterial[] materials) -
getOffset
-
setOffset
-
getScale
-
setScale
-
getBlockSize
public int getBlockSize() -
setBlockSize
public void setBlockSize(int blockSize) -
getBitsPerSample
public int getBitsPerSample() -
setBitsPerSample
public void setBitsPerSample(int bitsPerSample)
-
HeightFieldShapeSettingswhen preview features are enabled.