public class PxTopLevelFunctions extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxTopLevelFunctions() |
protected |
PxTopLevelFunctions(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxTopLevelFunctions()
protected PxTopLevelFunctions(long address)
public static PxTopLevelFunctions wrapPointer(long address)
public void destroy()
public static int getPHYSICS_VERSION()
public static PxSimulationFilterShader DefaultFilterShader()
PxSimulationFilterShader [Value]public static void setupPassThroughFilterShader(PxSceneDesc sceneDesc, PassThroughFilterShader filterShader)
sceneDesc - WebIDL type: PxSceneDescfilterShader - WebIDL type: PassThroughFilterShaderpublic static PxControllerManager CreateControllerManager(PxScene scene)
scene - WebIDL type: PxScene [Ref]PxControllerManagerpublic static PxControllerManager CreateControllerManager(PxScene scene, boolean lockingEnabled)
scene - WebIDL type: PxScene [Ref]lockingEnabled - WebIDL type: booleanPxControllerManagerpublic static PxCooking CreateCooking(int version, PxFoundation foundation, PxCookingParams scale)
version - WebIDL type: unsigned longfoundation - WebIDL type: PxFoundation [Ref]scale - WebIDL type: PxCookingParams [Const, Ref]PxCookingpublic static PxFoundation CreateFoundation(int version, PxDefaultAllocator allocator, PxErrorCallback errorCallback)
version - WebIDL type: unsigned longallocator - WebIDL type: PxDefaultAllocator [Ref]errorCallback - WebIDL type: PxErrorCallback [Ref]PxFoundationpublic static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params)
version - WebIDL type: unsigned longfoundation - WebIDL type: PxFoundation [Ref]params - WebIDL type: PxTolerancesScale [Const, Ref]PxPhysicspublic static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params, PxPvd pvd)
version - WebIDL type: unsigned longfoundation - WebIDL type: PxFoundation [Ref]params - WebIDL type: PxTolerancesScale [Const, Ref]pvd - WebIDL type: PxPvdPxPhysicspublic static PxDefaultCpuDispatcher DefaultCpuDispatcherCreate(int numThreads)
numThreads - WebIDL type: unsigned longPxDefaultCpuDispatcherpublic static boolean InitExtensions(PxPhysics physics)
physics - WebIDL type: PxPhysics [Ref]public static void CloseExtensions()
public static PxCudaContextManager CreateCudaContextManager(PxFoundation foundation, PxCudaContextManagerDesc desc)
foundation - WebIDL type: PxFoundation [Ref]desc - WebIDL type: PxCudaContextManagerDesc [Const, Ref]PxCudaContextManagerpublic static PxPvd CreatePvd(PxFoundation foundation)
foundation - WebIDL type: PxFoundation [Ref]PxPvdpublic static PxD6Joint D6JointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxD6Jointpublic static PxDistanceJoint DistanceJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxDistanceJointpublic static PxFixedJoint FixedJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxFixedJointpublic static PxPrismaticJoint PrismaticJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxPrismaticJointpublic static PxRevoluteJoint RevoluteJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxRevoluteJointpublic static PxSphericalJoint SphericalJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
physics - WebIDL type: PxPhysics [Ref]actor0 - WebIDL type: PxRigidActorlocalFrame0 - WebIDL type: PxTransform [Ref]actor1 - WebIDL type: PxRigidActorlocalFrame1 - WebIDL type: PxTransform [Ref]PxSphericalJoint