Interface ConstJoltPhysicsObject
- All Superinterfaces:
Comparable<JoltPhysicsObject>
- All Known Subinterfaces:
CharacterContactListener
,ConstAaBox
,ConstBody
,ConstBodyCreationSettings
,ConstBroadPhaseLayerInterface
,ConstCharacter
,ConstCharacterBase
,ConstCharacterBaseSettings
,ConstCharacterSettings
,ConstCharacterVirtual
,ConstCharacterVirtualSettings
,ConstCollideShapeResult
,ConstCollisionGroup
,ConstConstraint
,ConstConstraintSettings
,ConstContact
,ConstContactManifold
,ConstContactSettings
,ConstConvexShapeSettings
,ConstFace
,ConstGroupFilter
,ConstJoint
,ConstMassProperties
,ConstMotionProperties
,ConstObjectLayerPairFilter
,ConstObjectVsBroadPhaseLayerFilter
,ConstOrientedBox
,ConstPhysicsMaterial
,ConstShape
,ConstShapeSettings
,ConstSkeleton
,ConstSoftBodyContactSettings
,ConstSoftBodyCreationSettings
,ConstSoftBodyMotionProperties
,ConstSoftBodySharedSettings
,ConstSoftBodyVertex
,ConstSubShapeIdPair
,ConstTransformedShape
,ConstTwoBodyConstraint
,ConstVertexAttributes
,ConstWheelSettings
,Mat44Arg
,PhysicsStepListener
,RandomNumberEngine
,RMat44Arg
- All Known Implementing Classes:
AaBox
,AddConvexRadiusSupport
,AdditionalConstraint
,AllHitCastRayCollector
,AllHitCastShapeCollector
,AllHitCollidePointCollector
,AllHitCollideShapeBodyCollector
,AllHitCollideShapeCollector
,AllHitRayCastBodyCollector
,AllHitTransformedShapeCollector
,AnyHitCastRayCollector
,AnyHitCastShapeCollector
,AnyHitCollideShapeCollector
,Array
,Body
,BodyActivationListener
,BodyCreationSettings
,BodyFilter
,BodyIdArray
,BodyIdVector
,BodyInterface
,BodyLockInterface
,BodyLockInterfaceLocking
,BodyLockInterfaceNoLock
,BodyLockRead
,BodyLockWrite
,BodyManager
,BodyManagerDrawSettings
,BodyVector
,BoxShape
,BoxShapeSettings
,BroadPhase
,BroadPhaseBruteForce
,BroadPhaseCastResult
,BroadPhaseLayerFilter
,BroadPhaseLayerInterface
,BroadPhaseLayerInterfaceTable
,BroadPhaseQuadTree
,BroadPhaseQuery
,CapsuleShape
,CapsuleShapeSettings
,CastRayCollector
,CastShapeCollector
,Character
,CharacterBase
,CharacterBaseSettings
,CharacterContactSettings
,CharacterRef
,CharacterRefC
,CharacterSettings
,CharacterSettingsRef
,CharacterVirtual
,CharacterVirtualRef
,CharacterVirtualRefC
,CharacterVirtualSettings
,CharacterVirtualSettingsRef
,CharacterVsCharacterCollision
,CharacterVsCharacterCollisionSimple
,ChbEdge
,ChbFace
,ClosestHitCastRayCollector
,ClosestHitCastShapeCollector
,ClosestHitCollideShapeCollector
,CollidePointCollector
,CollidePointResult
,CollideSettingsBase
,CollideShapeBodyCollector
,CollideShapeCollector
,CollideShapeResult
,CollideShapeSettings
,CollisionGroup
,CombineFunction
,CompoundShape
,CompoundShapeSettings
,ConeConstraint
,ConeConstraintSettings
,Constraint
,ConstraintRef
,Constraints
,ConstraintSettings
,ConstraintSettingsRef
,Contact
,ContactList
,ContactListener
,ContactManifold
,ContactSettings
,ConvexHull
,ConvexHullBuilder
,ConvexHullShape
,ConvexHullShapeSettings
,ConvexShape
,ConvexShapeSettings
,CsrFace
,CustomBodyActivationListener
,CustomCastRayCollector
,CustomCastShapeCollector
,CustomCharacterContactListener
,CustomCollidePointCollector
,CustomCollideShapeBodyCollector
,CustomCollideShapeCollector
,CustomContactListener
,CustomPhysicsStepListener
,CustomRayCastBodyCollector
,CustomSoftBodyContactListener
,CylinderShape
,CylinderShapeSettings
,DebugRenderer
,DebugRendererRecorder
,Decomposer
,DecoratedShape
,DecoratedShapeSettings
,DefaultBroadPhaseLayerFilter
,DefaultObjectLayerFilter
,DefaultRandomEngine
,DistanceConstraint
,DistanceConstraintSettings
,Edge
,EmptyShape
,EmptyShapeSettings
,ExtendedUpdateSettings
,Face
,FixedConstraint
,FixedConstraintSettings
,GearConstraint
,GearConstraintSettings
,GetTrianglesContext
,GroupFilter
,GroupFilterRef
,GroupFilterTable
,GroupFilterTableRef
,HeightFieldShape
,HeightFieldShapeSettings
,HingeConstraint
,HingeConstraintSettings
,IgnoreMultipleBodiesFilter
,IndexedTriangle
,IndexedTriangleList
,IndexedTriangleNoMaterial
,InvBind
,JobSystem
,JobSystemSingleThreaded
,JobSystemThreadPool
,JobSystemWithBarrier
,Joint
,JointState
,JoltPhysicsObject
,MassProperties
,Mat44
,Mat44Array
,MeshShape
,MeshShapeSettings
,MotionProperties
,MotorcycleController
,MotorcycleControllerSettings
,MotorSettings
,Mt19937
,MutableCompoundShape
,MutableCompoundShapeSettings
,Mutex
,NarrowPhaseQuery
,NarrowPhaseStat
,NonCopyable
,ObjectLayerFilter
,ObjectLayerPairFilter
,ObjectLayerPairFilterTable
,ObjectVsBroadPhaseLayerFilter
,ObjectVsBroadPhaseLayerFilterTable
,ObjVsBpFilter
,ObjVsObjFilter
,OffsetCenterOfMassShape
,OffsetCenterOfMassShapeSettings
,OrientedBox
,Parameters
,Part
,PathConstraint
,PathConstraintPath
,PathConstraintPathHermite
,PathConstraintPathRef
,PathConstraintSettings
,PhysicsMaterial
,PhysicsMaterialList
,PhysicsMaterialRef
,PhysicsMaterialRefC
,PhysicsMaterialSimple
,PhysicsScene
,PhysicsSceneRef
,PhysicsSceneResult
,PhysicsSettings
,PhysicsStepListenerContext
,PhysicsSystem
,PlaneShape
,PlaneShapeSettings
,PointConstraint
,PointConstraintSettings
,PulleyConstraint
,PulleyConstraintSettings
,RackAndPinionConstraint
,RackAndPinionConstraintSettings
,Ragdoll
,RagdollRef
,RagdollResult
,RagdollSettings
,RagdollSettingsRef
,RayCast
,RayCastBodyCollector
,RayCastResult
,RayCastSettings
,Ref
,RMat44
,RotatedTranslatedShape
,RotatedTranslatedShapeSettings
,RRayCast
,RShapeCast
,ScaledShape
,ScaledShapeSettings
,SerializableObject
,Shape
,ShapeCastResult
,ShapeCastSettings
,ShapeFilter
,ShapeList
,ShapeRef
,ShapeRefC
,ShapeResult
,ShapeSettings
,ShapeSettingsRef
,ShapeSettingsRefC
,SharedMutex
,SharedMutexBase
,SixDofConstraint
,SixDofConstraintSettings
,SkeletalAnimation
,SkeletalAnimationRef
,Skeleton
,SkeletonMapper
,SkeletonMapperRef
,SkeletonPose
,SkeletonPoseDrawSettings
,SkeletonRef
,Skinned
,SkinWeight
,SliderConstraint
,SliderConstraintSettings
,SoftBodyContactListener
,SoftBodyContactSettings
,SoftBodyCreationSettings
,SoftBodyManifold
,SoftBodyMotionProperties
,SoftBodyShape
,SoftBodySharedSettings
,SoftBodySharedSettingsRef
,SoftBodyVertex
,SpecifiedBroadPhaseLayerFilter
,SpecifiedObjectLayerFilter
,Sphere
,SphereShape
,SphereShapeSettings
,SpringSettings
,StateRecorder
,StateRecorderFilter
,StateRecorderImpl
,StaticCompoundShape
,StaticCompoundShapeSettings
,Stats
,StreamIn
,StreamInWrapper
,StreamOut
,StreamOutWrapper
,StringStream
,SubShape
,SubShapeIdCreator
,SubShapeIdPair
,Support
,SupportBuffer
,SupportingFace
,SwingTwistConstraint
,SwingTwistConstraintSettings
,TaperedCapsuleShape
,TaperedCapsuleShapeSettings
,TaperedCylinderShape
,TaperedCylinderShapeSettings
,TempAllocator
,TempAllocatorImpl
,TempAllocatorImplWithMallocFallback
,TempAllocatorMalloc
,TrackedVehicleController
,TrackedVehicleControllerSettings
,TransformedShape
,TransformedShapeCollector
,Triangle
,TriangleShape
,TriangleShapeSettings
,TwoBodyConstraint
,TwoBodyConstraintRef
,TwoBodyConstraintSettings
,TwoBodyConstraintSettingsRef
,UniformFloatDistribution
,UniformIntDistribution
,VehicleAntiRollBar
,VehicleCollisionTester
,VehicleCollisionTesterCastCylinder
,VehicleCollisionTesterCastCylinderRef
,VehicleCollisionTesterCastSphere
,VehicleCollisionTesterCastSphereRef
,VehicleCollisionTesterRay
,VehicleCollisionTesterRayRef
,VehicleCollisionTesterRef
,VehicleConstraint
,VehicleConstraintRef
,VehicleConstraintSettings
,VehicleController
,VehicleControllerSettings
,VehicleControllerSettingsRef
,VehicleDifferentialSettings
,VehicleEngine
,VehicleEngineSettings
,VehicleStepListener
,VehicleTrackSettings
,VehicleTransmission
,VehicleTransmissionSettings
,Vertex
,VertexArray
,VertexAttributes
,Volume
,Wheel
,WheeledVehicleController
,WheeledVehicleControllerSettings
,WheelSettings
,WheelSettingsTv
,WheelSettingsTvRef
,WheelSettingsWv
,WheelSettingsWvRef
,WheelTv
,WheelWv
Read-only access to a
JoltPhysicsObject
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Free and unassign the native object if the JVM object owns it.boolean
Test whether a native object is assigned.boolean
Test whether the JVM object owns (is responsible for freeing) its assigned native object.long
targetVa()
Return the address of the target object (if this is a counted reference) or else the address of the native object.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
close
void close()Free and unassign the native object if the JVM object owns it. -
hasAssignedNativeObject
boolean hasAssignedNativeObject()Test whether a native object is assigned. Both objects are unaffected.- Returns:
true
if one is assigned, otherwisefalse
-
ownsNativeObject
boolean ownsNativeObject()Test whether the JVM object owns (is responsible for freeing) its assigned native object. Both objects are unaffected.- Returns:
true
if owner, otherwisefalse
-
targetVa
long targetVa()Return the address of the target object (if this is a counted reference) or else the address of the native object. No objects are affected.- Returns:
- a virtual address (not zero)
-