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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxCookingCreateCooking(int version, PxFoundation foundation, PxCookingParams scale)static PxFoundationCreateFoundation(int version, PxDefaultAllocator allocator, PxErrorCallback errorCallback)static PxPhysicsCreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params)static PxDefaultCpuDispatcherDefaultCpuDispatcherCreate(int numThreads)static PxSimulationFilterShaderDefaultFilterShader()static PxBatchQueryPostFilterShaderDefaultWheelSceneQueryPostFilterBlocking()static PxBatchQueryPreFilterShaderDefaultWheelSceneQueryPreFilterBlocking()voiddestroy()static intgetPHYSICS_VERSION()static booleanInitExtensions(PxPhysics physics)static PxRevoluteJointRevoluteJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)static PxTopLevelFunctionswrapPointer(long address)-
Methods inherited from class physx.NativeObject
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]
-
DefaultWheelSceneQueryPreFilterBlocking
public static PxBatchQueryPreFilterShader DefaultWheelSceneQueryPreFilterBlocking()
- Returns:
- WebIDL type:
PxBatchQueryPreFilterShader[Value]
-
DefaultWheelSceneQueryPostFilterBlocking
public static PxBatchQueryPostFilterShader DefaultWheelSceneQueryPostFilterBlocking()
- Returns:
- WebIDL type:
PxBatchQueryPostFilterShader[Value]
-
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
-
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
-
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
-
-