Package physx

Class NativeObject

java.lang.Object
physx.NativeObject
Direct Known Subclasses:
BaseVehicle, BaseVehicleParams, BaseVehicleState, CUcontext, CUdevice, CUdeviceptr, CUmodule, CUstream, DirectDrivetrainParams, DirectDrivetrainState, EngineDrivetrainParams, EngineDrivetrainState, JavaNativeRef, NativeArrayHelpers, OmniPvdWriter, OmniPvdWriteStream, PhysXIntegrationParams, PhysXIntegrationState, PxActorFlags, PxActorPtr, PxActorTypeFlags, PxArray_PxActorPtr, PxArray_PxContactPairPoint, PxArray_PxHeightFieldSample, PxArray_PxMaterialConst, PxArray_PxParticleRigidFilterPair, PxArray_PxParticleSpring, PxArray_PxRaycastHit, PxArray_PxReal, PxArray_PxShapePtr, PxArray_PxSweepHit, PxArray_PxU16, PxArray_PxU32, PxArray_PxU8, PxArray_PxVec3, PxArray_PxVec4, PxArticulationAttachment, PxArticulationCache, PxArticulationCacheFlags, PxArticulationDrive, PxArticulationFlags, PxArticulationKinematicFlags, PxArticulationLimit, PxArticulationRootLinkData, PxArticulationTendonJoint, PxArticulationTendonLimit, PxBase, PxBaseFlags, PxBaseTask, PxBounds3, PxBroadPhaseCaps, PxBroadPhaseRegion, PxBroadPhaseRegionInfo, PxBVH33MidphaseDesc, PxBVH34MidphaseDesc, PxCollection, PxCollectionExt, PxConeLimitParams, PxConstraintConnector, PxConstraintFlags, PxConstraintInfo, PxConstraintSolverPrep, PxContactBuffer, PxContactPair, PxContactPairFlags, PxContactPairHeader, PxContactPairHeaderFlags, PxContactPairPoint, PxContactPoint, PxController, PxControllerBehaviorCallback, PxControllerBehaviorFlags, PxControllerCollisionFlags, PxControllerDesc, PxControllerFilterCallback, PxControllerFilters, PxControllerHit, PxControllerManager, PxControllerState, PxControllerStats, PxConvexFlags, PxConvexMeshDesc, PxConvexMeshGeometryFlags, PxCookingParams, PxCpuDispatcher, PxCudaContext, PxCudaContextManager, PxCudaContextManagerDesc, PxCudaTopLevelFunctions, PxCUresult, PxD6JointDriveFlags, PxDebugLine, PxDebugPoint, PxDebugTriangle, PxDefaultAllocator, PxDiffuseParticleParams, PxDistanceJointFlags, PxDominanceGroupPair, PxErrorCallback, PxExtendedVec3, PxExtensionTopLevelFunctions, PxFilterData, PxFoundation, PxGeometry, PxGeometryHolder, PxGeometryQuery, PxGjkQuery, PxGjkQueryExt, PxGjkQueryProximityInfoResult, PxGjkQueryRaycastResult, PxGjkQuerySweepResult, PxGpuDynamicsMemoryConfig, PxGpuMirroredGpuParticleSystemPointer, PxGpuParticleSystem, PxHeightFieldDesc, PxHeightFieldFlags, PxHeightFieldSample, PxHitFlags, PxHullPolygon, PxI32ConstPtr, PxInputData, PxInsertionCallback, PxJointLimitParameters, PxMassProperties, PxMat33, PxMaterialConstPtr, PxMaterialFlags, PxMaterialPtr, PxMeshFlags, PxMeshGeometryFlags, PxMeshOverlapUtil, PxMeshPreprocessingFlags, PxMeshScale, PxMidphaseDesc, PxObstacle, PxObstacleContext, PxOmniPvd, PxOutputStream, PxOverlapCallback, PxPairFlags, PxParticleBufferDesc, PxParticleBufferFlags, PxParticleCloth, PxParticleClothBufferHelper, PxParticleClothConstraint, PxParticleClothCooker, PxParticleClothDesc, PxParticleClothPreProcessor, PxParticleFlags, PxParticlePhaseFlags, PxParticleRigidFilterPair, PxParticleSpring, PxParticleSystemCallback, PxParticleVolume, PxPartitionedParticleCloth, PxPhysics, PxPlane, PxPrismaticJointFlags, PxPvd, PxPvdInstrumentationFlags, PxPvdTransport, PxQuat, PxQueryFilterCallback, PxQueryFilterData, PxQueryFlags, PxQueryHit, PxRaycastCallback, PxRealConstPtr, PxRenderBuffer, PxRevoluteJointFlags, PxRigidActorExt, PxRigidBodyExt, PxRigidBodyFlags, PxRigidDynamicLockFlags, PxSceneDesc, PxSceneFlags, PxSceneLimits, PxSceneQuerySystemBase, PxSerialization, PxSerializationRegistry, PxShapeExt, PxShapeFlags, PxShapePtr, PxSimpleTriangleMesh, PxSimulationEventCallback, PxSimulationFilterShader, PxSimulationStatistics, PxSpatialForce, PxSpatialVelocity, PxSphericalJointFlags, PxSpring, PxStridedData, PxSweepCallback, PxTetMaker, PxTetrahedronMeshAnalysisResults, PxTetrahedronMeshDesc, PxTetrahedronMeshExt, PxTetrahedronMeshFlags, PxTolerancesScale, PxTopLevelFunctions, PxTransform, PxTriangle, PxTriangleMeshAnalysisResults, PxTriangleMeshFlags, PxTriggerPair, PxTriggerPairFlags, PxTypedStridedData_PxU16, PxTypedStridedData_PxU16Const, PxU16ConstPtr, PxU32ConstPtr, PxU8ConstPtr, PxUserControllerHitReport, PxVec3, PxVec4, PxVehicleAckermannParams, PxVehicleAntiRollForceParams, PxVehicleAntiRollTorque, PxVehicleAutoboxParams, PxVehicleAutoboxState, PxVehicleAxleDescription, PxVehicleClutchCommandResponseParams, PxVehicleClutchCommandResponseState, PxVehicleClutchParams, PxVehicleClutchSlipState, PxVehicleCommandNonLinearResponseParams, PxVehicleCommandResponseParams, PxVehicleCommandState, PxVehicleCommandValueResponseTable, PxVehicleComponent, PxVehicleComponentSequence, PxVehicleDifferentialState, PxVehicleDirectDriveTransmissionCommandState, PxVehicleEngineDriveThrottleCommandResponseState, PxVehicleEngineDriveTransmissionCommandState, PxVehicleEngineParams, PxVehicleEngineState, PxVehicleFixedSizeLookupTableFloat_3, PxVehicleFixedSizeLookupTableVec3_3, PxVehicleFrame, PxVehicleGearboxParams, PxVehicleGearboxState, PxVehicleMultiWheelDriveDifferentialParams, PxVehiclePhysXActor, PxVehiclePhysXConstraints, PxVehiclePhysXConstraintState, PxVehiclePhysXMaterialFriction, PxVehiclePhysXMaterialFrictionParams, PxVehiclePhysXRoadGeometryQueryParams, PxVehiclePhysXSteerState, PxVehiclePhysXSuspensionLimitConstraintParams, PxVehiclePvdContext, PxVehicleRigidBodyParams, PxVehicleRigidBodyState, PxVehicleRoadGeometryState, PxVehicleScale, PxVehicleSimulationContext, PxVehicleSuspensionComplianceParams, PxVehicleSuspensionComplianceState, PxVehicleSuspensionForce, PxVehicleSuspensionForceParams, PxVehicleSuspensionParams, PxVehicleSuspensionState, PxVehicleSuspensionStateCalculationParams, PxVehicleTireAxisStickyParams, PxVehicleTireCamberAngleState, PxVehicleTireDirectionState, PxVehicleTireForce, PxVehicleTireForceParams, PxVehicleTireForceParamsExt, PxVehicleTireGripState, PxVehicleTireSlipParams, PxVehicleTireSlipState, PxVehicleTireSpeedState, PxVehicleTireStickyParams, PxVehicleTireStickyState, PxVehicleTopLevelFunctions, PxVehicleTorqueCurveLookupTable, PxVehicleWheelActuationState, PxVehicleWheelConstraintGroupState, PxVehicleWheelLocalPose, PxVehicleWheelParams, PxVehicleWheelRigidBody1dState, PxVehicleWheelsPtr, SimpleCustomGeometryCallbacks, Support, SupportFunctions, Vector_PxActorPtr, Vector_PxContactPairPoint, Vector_PxHeightFieldSample, Vector_PxMaterialConst, Vector_PxParticleRigidFilterPair, Vector_PxParticleSpring, Vector_PxRaycastHit, Vector_PxReal, Vector_PxSweepHit, Vector_PxU16, Vector_PxU32, Vector_PxU8, Vector_PxVec3, Vector_PxVec4, Vector_VHACDTriangle, Vector_VHACDVertex, VHACDConvexHull, VHACDImpl, VHACDParameters, VHACDTriangle, VHACDVertex

public class NativeObject extends Object
  • Field Details

    • SIZEOF_POINTER

      public static final int SIZEOF_POINTER
    • SIZEOF_BYTE

      public static final int SIZEOF_BYTE
      See Also:
    • SIZEOF_SHORT

      public static final int SIZEOF_SHORT
      See Also:
    • SIZEOF_INT

      public static final int SIZEOF_INT
      See Also:
    • SIZEOF_LONG

      public static final int SIZEOF_LONG
      See Also:
    • SIZEOF_FLOAT

      public static final int SIZEOF_FLOAT
      See Also:
    • SIZEOF_DOUBLE

      public static final int SIZEOF_DOUBLE
      See Also:
    • address

      protected long address
    • isExternallyAllocated

      protected boolean isExternallyAllocated
  • Constructor Details

    • NativeObject

      protected NativeObject()
    • NativeObject

      protected NativeObject(long address)
  • Method Details

    • wrapPointer

      public static NativeObject wrapPointer(long address)
    • checkNotNull

      protected void checkNotNull()
    • getAddress

      public long getAddress()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object