Package physx.physics
Class PxSceneDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxSceneDesc
-
public class PxSceneDesc extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxSceneDesc()protectedPxSceneDesc(long address)PxSceneDesc(PxTolerancesScale scale)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxSceneDesccreateAt(long address, PxTolerancesScale scale)static <T> PxSceneDesccreateAt(T allocator, NativeObject.Allocator<T> allocate, PxTolerancesScale scale)voiddestroy()PxCpuDispatchergetCpuDispatcher()PxSimulationFilterShadergetFilterShader()PxSceneFlagsgetFlags()PxVec3getGravity()PxSimulationEventCallbackgetSimulationEventCallback()voidsetCpuDispatcher(PxCpuDispatcher value)voidsetFilterShader(PxSimulationFilterShader value)voidsetFlags(PxSceneFlags value)voidsetGravity(PxVec3 value)voidsetSimulationEventCallback(PxSimulationEventCallback value)static PxSceneDescwrapPointer(long address)-
Methods inherited from class physx.NativeObject
equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PxSceneDesc
protected PxSceneDesc()
-
PxSceneDesc
protected PxSceneDesc(long address)
-
PxSceneDesc
public PxSceneDesc(PxTolerancesScale scale)
- Parameters:
scale- WebIDL type:PxTolerancesScale[Const, Ref]
-
-
Method Detail
-
wrapPointer
public static PxSceneDesc wrapPointer(long address)
-
createAt
public static PxSceneDesc createAt(long address, PxTolerancesScale scale)
- Parameters:
address- Pre-allocated memory, where the object is created.scale- WebIDL type:PxTolerancesScale[Const, Ref]- Returns:
- Stack allocated object of PxSceneDesc
-
createAt
public static <T> PxSceneDesc createAt(T allocator, NativeObject.Allocator<T> allocate, PxTolerancesScale scale)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.scale- WebIDL type:PxTolerancesScale[Const, Ref]- Returns:
- Stack allocated object of PxSceneDesc
-
destroy
public void destroy()
-
getSimulationEventCallback
public PxSimulationEventCallback getSimulationEventCallback()
- Returns:
- WebIDL type:
PxSimulationEventCallback
-
setSimulationEventCallback
public void setSimulationEventCallback(PxSimulationEventCallback value)
- Parameters:
value- WebIDL type:PxSimulationEventCallback
-
getFilterShader
public PxSimulationFilterShader getFilterShader()
- Returns:
- WebIDL type:
PxSimulationFilterShader[Value]
-
setFilterShader
public void setFilterShader(PxSimulationFilterShader value)
- Parameters:
value- WebIDL type:PxSimulationFilterShader[Value]
-
getCpuDispatcher
public PxCpuDispatcher getCpuDispatcher()
- Returns:
- WebIDL type:
PxCpuDispatcher
-
setCpuDispatcher
public void setCpuDispatcher(PxCpuDispatcher value)
- Parameters:
value- WebIDL type:PxCpuDispatcher
-
getFlags
public PxSceneFlags getFlags()
- Returns:
- WebIDL type:
PxSceneFlags[Value]
-
setFlags
public void setFlags(PxSceneFlags value)
- Parameters:
value- WebIDL type:PxSceneFlags[Value]
-
-