Package physx
Class PxTopLevelFunctions
- java.lang.Object
-
- physx.NativeObject
-
- physx.PxTopLevelFunctions
-
public class PxTopLevelFunctions extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxTopLevelFunctions()protectedPxTopLevelFunctions(long address)
-
Method Summary
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxTopLevelFunctions wrapPointer(long address)
-
destroy
public void destroy()
-
getPHYSICS_VERSION
public static int getPHYSICS_VERSION()
- Returns:
- WebIDL type: unsigned long
-
DefaultFilterShader
public static PxSimulationFilterShader DefaultFilterShader()
- Returns:
- WebIDL type:
PxSimulationFilterShader[Value]
-
CreateControllerManager
public static PxControllerManager CreateControllerManager(PxScene scene)
- Parameters:
scene- WebIDL type:PxScene[Ref]- Returns:
- WebIDL type:
PxControllerManager
-
CreateControllerManager
public static PxControllerManager CreateControllerManager(PxScene scene, boolean lockingEnabled)
- Parameters:
scene- WebIDL type:PxScene[Ref]lockingEnabled- WebIDL type: boolean- Returns:
- WebIDL type:
PxControllerManager
-
CreateCooking
public static PxCooking CreateCooking(int version, PxFoundation foundation, PxCookingParams scale)
- Parameters:
version- WebIDL type: unsigned longfoundation- WebIDL type:PxFoundation[Ref]scale- WebIDL type:PxCookingParams[Const, Ref]- Returns:
- WebIDL type:
PxCooking
-
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- Returns:
- WebIDL type:
PxPhysics
-
DefaultCpuDispatcherCreate
public static PxDefaultCpuDispatcher DefaultCpuDispatcherCreate(int numThreads)
- Parameters:
numThreads- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxDefaultCpuDispatcher
-
InitExtensions
public static boolean InitExtensions(PxPhysics physics)
- Parameters:
physics- WebIDL type:PxPhysics[Ref]- Returns:
- WebIDL type: boolean
-
CreateCudaContextManager
public static PxCudaContextManager CreateCudaContextManager(PxFoundation foundation, PxCudaContextManagerDesc desc)
- Parameters:
foundation- WebIDL type:PxFoundation[Ref]desc- WebIDL type:PxCudaContextManagerDesc[Const, Ref]- Returns:
- WebIDL type:
PxCudaContextManager
-
CreatePvd
public static PxPvd CreatePvd(PxFoundation foundation)
- Parameters:
foundation- WebIDL type:PxFoundation[Ref]- Returns:
- WebIDL type:
PxPvd
-
D6JointCreate
public static PxD6Joint D6JointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
- Parameters:
physics- WebIDL type:PxPhysics[Ref]actor0- WebIDL type:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- 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:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- 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:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- 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:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- 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:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- 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:PxRigidActorlocalFrame0- WebIDL type:PxTransform[Ref]actor1- WebIDL type:PxRigidActorlocalFrame1- WebIDL type:PxTransform[Ref]- Returns:
- WebIDL type:
PxSphericalJoint
-
-