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, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxTopLevelFunctions()protectedPxTopLevelFunctions(long address)
-
Method Summary
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxTopLevelFunctions wrapPointer(long address)
-
destroy
public void destroy()
-
getPHYSICS_VERSION
public static int getPHYSICS_VERSION()
- Returns:
- unsigned long
-
DefaultFilterShader
public static PxSimulationFilterShader DefaultFilterShader()
- Returns:
PxSimulationFilterShader[Value]
-
DefaultWheelSceneQueryPreFilterBlocking
public static PxBatchQueryPreFilterShader DefaultWheelSceneQueryPreFilterBlocking()
- Returns:
PxBatchQueryPreFilterShader[Value]
-
DefaultWheelSceneQueryPostFilterBlocking
public static PxBatchQueryPostFilterShader DefaultWheelSceneQueryPostFilterBlocking()
- Returns:
PxBatchQueryPostFilterShader[Value]
-
CreateCooking
public static PxCooking CreateCooking(int version, PxFoundation foundation, PxCookingParams scale)
- Parameters:
version- unsigned longfoundation-PxFoundation[Ref]scale-PxCookingParams[Const, Ref]- Returns:
PxCooking
-
CreateFoundation
public static PxFoundation CreateFoundation(int version, PxDefaultAllocator allocator, PxDefaultErrorCallback errorCallback)
- Parameters:
version- unsigned longallocator-PxDefaultAllocator[Ref]errorCallback-PxDefaultErrorCallback[Ref]- Returns:
PxFoundation
-
CreatePhysics
public static PxPhysics CreatePhysics(int version, PxFoundation foundation, PxTolerancesScale params)
- Parameters:
version- unsigned longfoundation-PxFoundation[Ref]params-PxTolerancesScale[Const, Ref]- Returns:
PxPhysics
-
DefaultCpuDispatcherCreate
public static PxDefaultCpuDispatcher DefaultCpuDispatcherCreate(int numThreads)
- Parameters:
numThreads- unsigned long- Returns:
PxDefaultCpuDispatcher
-
InitExtensions
public static boolean InitExtensions(PxPhysics physics)
- Parameters:
physics-PxPhysics[Ref]- Returns:
- boolean
-
RevoluteJointCreate
public static PxRevoluteJoint RevoluteJointCreate(PxPhysics physics, PxRigidActor actor0, PxTransform localFrame0, PxRigidActor actor1, PxTransform localFrame1)
- Parameters:
physics-PxPhysics[Ref]actor0-PxRigidActorlocalFrame0-PxTransform[Ref]actor1-PxRigidActorlocalFrame1-PxTransform[Ref]- Returns:
PxRevoluteJoint
-
getU8At
public static int getU8At(PxU8Ptr base, int index)
- Parameters:
base-PxU8Ptr[Ref]index- long- Returns:
- long
-
-