java.lang.Object
physx.NativeObject
physx.PxTopLevelFunctions
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxTopLevelFunctionsarrayGet(long baseAddress, int index) static voidstatic PxControllerManagerCreateControllerManager(PxScene scene) static PxControllerManagerCreateControllerManager(PxScene scene, boolean lockingEnabled) static PxConvexMeshCreateConvexMesh(PxCookingParams params, PxConvexMeshDesc desc) static PxFoundationCreateFoundation(int version, PxDefaultAllocator allocator, PxErrorCallback errorCallback) static PxHeightFieldstatic PxOmniPvdCreateOmniPvd(PxFoundation foundation) static PxPhysicsCreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params) static PxPhysicsCreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params, PxPvd pvd) static PxPhysicsCreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params, PxPvd pvd, PxOmniPvd omniPvd) static PxPvdCreatePvd(PxFoundation foundation) static PxTriangleMeshCreateTriangleMesh(PxCookingParams params, PxTriangleMeshDesc desc) static PxD6JointD6JointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static PxDefaultCpuDispatcherDefaultCpuDispatcherCreate(int numThreads) static PxSimulationFilterShaderstatic PxPvdTransportDefaultPvdSocketTransportCreate(String host, int port, int timeoutInMilliseconds) static PxDistanceJointDistanceJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static PxFixedJointFixedJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static intstatic booleanInitExtensions(PxPhysics physics) static PxPrismaticJointPrismaticJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static PxRevoluteJointRevoluteJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static voidsetupPassThroughFilterShader(PxSceneDesc sceneDesc, PassThroughFilterShader filterShader) static PxSphericalJointSphericalJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) static PxTopLevelFunctionswrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxTopLevelFunctions
protected PxTopLevelFunctions() -
PxTopLevelFunctions
protected PxTopLevelFunctions(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getPHYSICS_VERSION
public static int getPHYSICS_VERSION()- Returns:
- WebIDL type: unsigned long
-
DefaultFilterShader
- Returns:
- WebIDL type:
PxSimulationFilterShader[Value]
-
setupPassThroughFilterShader
public static void setupPassThroughFilterShader(PxSceneDesc sceneDesc, PassThroughFilterShader filterShader) - Parameters:
sceneDesc- WebIDL type:PxSceneDescfilterShader- WebIDL type:PassThroughFilterShader
-
CreateControllerManager
- Parameters:
scene- WebIDL type:PxScene[Ref]- Returns:
- WebIDL type:
PxControllerManager
-
CreateControllerManager
- Parameters:
scene- WebIDL type:PxScene[Ref]lockingEnabled- WebIDL type: boolean- Returns:
- WebIDL type:
PxControllerManager
-
CreateFoundation
public static PxFoundation CreateFoundation(int version, PxDefaultAllocator allocator, PxErrorCallback errorCallback) - Parameters:
version- WebIDL type: unsigned longallocator- WebIDL type:PxDefaultAllocator[Ref]errorCallback- WebIDL type:PxErrorCallback[Ref]- Returns:
- WebIDL type:
PxFoundation
-
CreatePhysics
public static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params) - Parameters:
version- WebIDL type: unsigned longfoundation- WebIDL type:PxFoundation[Ref]params- WebIDL type:PxTolerancesScale[Const, Ref]- Returns:
- WebIDL type:
PxPhysics
-
CreatePhysics
public static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params, PxPvd pvd) - Parameters:
version- WebIDL type: unsigned longfoundation- WebIDL type:PxFoundation[Ref]params- WebIDL type:PxTolerancesScale[Const, Ref]pvd- WebIDL type:PxPvd[Nullable]- Returns:
- WebIDL type:
PxPhysics
-
CreatePhysics
public static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params, PxPvd pvd, PxOmniPvd omniPvd) - Parameters:
version- WebIDL type: unsigned longfoundation- WebIDL type:PxFoundation[Ref]params- WebIDL type:PxTolerancesScale[Const, Ref]pvd- WebIDL type:PxPvd[Nullable]omniPvd- WebIDL type:PxOmniPvd[Nullable]- Returns:
- WebIDL type:
PxPhysics
-
DefaultCpuDispatcherCreate
- Parameters:
numThreads- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxDefaultCpuDispatcher
-
InitExtensions
- Parameters:
physics- WebIDL type:PxPhysics[Ref]- Returns:
- WebIDL type: boolean
-
CloseExtensions
public static void CloseExtensions() -
CreatePvd
- Parameters:
foundation- WebIDL type:PxFoundation[Ref]- Returns:
- WebIDL type:
PxPvd
-
DefaultPvdSocketTransportCreate
public static PxPvdTransport DefaultPvdSocketTransportCreate(String host, int port, int timeoutInMilliseconds) - Parameters:
host- WebIDL type: DOMStringport- WebIDL type: longtimeoutInMilliseconds- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxPvdTransport[Platforms=windows;linux;macos]
-
CreateOmniPvd
- Parameters:
foundation- WebIDL type:PxFoundation[Ref]- Returns:
- WebIDL type:
PxOmniPvd[Platforms=windows;linux;macos]
-
D6JointCreate
public static PxD6Joint D6JointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxD6Joint
-
DistanceJointCreate
public static PxDistanceJoint DistanceJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxDistanceJoint
-
FixedJointCreate
public static PxFixedJoint FixedJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxFixedJoint
-
PrismaticJointCreate
public static PxPrismaticJoint PrismaticJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxPrismaticJoint
-
RevoluteJointCreate
public static PxRevoluteJoint RevoluteJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxRevoluteJoint
-
SphericalJointCreate
public static PxSphericalJoint SphericalJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1) - Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActor[Nullable]localFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActor[Nullable]localFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxSphericalJoint
-
CreateConvexMesh
- Parameters:
params- WebIDL type:PxCookingParams[Const, Ref]desc- WebIDL type:PxConvexMeshDesc[Const, Ref]- Returns:
- WebIDL type:
PxConvexMesh
-
CreateTriangleMesh
- Parameters:
params- WebIDL type:PxCookingParams[Const, Ref]desc- WebIDL type:PxTriangleMeshDesc[Const, Ref]- Returns:
- WebIDL type:
PxTriangleMesh
-
CreateHeightField
- Parameters:
desc- WebIDL type:PxHeightFieldDesc[Const, Ref]- Returns:
- WebIDL type:
PxHeightField
-