Package jolt.physics.collision
Class TransformedShape
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.TransformedShape
- All Implemented Interfaces:
JoltNative
- Direct Known Subclasses:
TransformedShape.D,TransformedShape.F
public abstract sealed class TransformedShape
extends SegmentedJoltNative
permits TransformedShape.F, TransformedShape.D
TransformedShape relies on preview features of the Java platform:
TransformedShaperefers to one or more preview APIs:MemoryAddress,MemorySegment,MemorySession,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classprotected static final class -
Field Summary
Fields inherited from class jolt.SegmentedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformedShapeat(MemorySegmentPREVIEW segment) static TransformedShapeat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) abstract intabstract ShapegetShape()abstract DVec3abstract FVec3abstract Quatabstract FVec3static TransformedShapeof(SegmentAllocatorPREVIEW alloc) abstract voidsetBodyId(int bodyId) abstract voidMethods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
getShapePositionCOMF
-
getShapePositionCOMD
-
getShapeRotation
-
getShape
-
setShape
-
getShapeScale
-
getBodyId
public abstract int getBodyId() -
setBodyId
public abstract void setBodyId(int bodyId)
-
TransformedShapewhen preview features are enabled.