Package physx.common
Class PxTransform
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxTransform
-
public class PxTransform 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, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxTransform()PxTransform(int r)protectedPxTransform(long address)PxTransform(PxVec3 p0, PxQuat q0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()PxVec3getP()PxQuatgetQ()static PxTransformmalloc(long address, int r)static PxTransformmalloc(long address, PxVec3 p0, PxQuat q0)static <T> PxTransformmalloc(T allocator, NativeObject.Allocator<T> allocate, int r)static <T> PxTransformmalloc(T allocator, NativeObject.Allocator<T> allocate, PxVec3 p0, PxQuat q0)voidsetP(PxVec3 value)voidsetQ(PxQuat value)static PxTransformwrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PxTransform
protected PxTransform()
-
PxTransform
protected PxTransform(long address)
-
PxTransform
public PxTransform(int r)
- Parameters:
r-PxIDENTITYEnum[enum]
-
-
Method Detail
-
wrapPointer
public static PxTransform wrapPointer(long address)
-
malloc
public static PxTransform malloc(long address, int r)
- Parameters:
address- where the object is allocatedr-PxIDENTITYEnum[enum]- Returns:
- Stack allocated object of PxTransform
-
malloc
public static <T> PxTransform malloc(T allocator, NativeObject.Allocator<T> allocate, int r)
- 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.r-PxIDENTITYEnum[enum]- Returns:
- Stack allocated object of PxTransform
-
malloc
public static PxTransform malloc(long address, PxVec3 p0, PxQuat q0)
-
malloc
public static <T> PxTransform malloc(T allocator, NativeObject.Allocator<T> allocate, PxVec3 p0, PxQuat q0)
- 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.p0-PxVec3[Const, Ref]q0-PxQuat[Const, Ref]- Returns:
- Stack allocated object of PxTransform
-
destroy
public void destroy()
-
-