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, isExternallyAllocated
-
-
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 static PxTransformcreateAt(long address, int r)static PxTransformcreateAt(long address, PxVec3 p0, PxQuat q0)static <T> PxTransformcreateAt(T allocator, NativeObject.Allocator<T> allocate, int r)static <T> PxTransformcreateAt(T allocator, NativeObject.Allocator<T> allocate, PxVec3 p0, PxQuat q0)voiddestroy()PxVec3getP()PxQuatgetQ()voidsetP(PxVec3 value)voidsetQ(PxQuat value)static PxTransformwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
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- WebIDL type:PxIDENTITYEnum[enum]
-
-
Method Detail
-
wrapPointer
public static PxTransform wrapPointer(long address)
-
createAt
public static PxTransform createAt(long address, int r)
- Parameters:
address- Pre-allocated memory, where the object is created.r- WebIDL type:PxIDENTITYEnum[enum]- Returns:
- Stack allocated object of PxTransform
-
createAt
public static <T> PxTransform createAt(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- WebIDL type:PxIDENTITYEnum[enum]- Returns:
- Stack allocated object of PxTransform
-
createAt
public static PxTransform createAt(long address, PxVec3 p0, PxQuat q0)
-
createAt
public static <T> PxTransform createAt(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- WebIDL type:PxVec3[Const, Ref]q0- WebIDL type:PxQuat[Const, Ref]- Returns:
- Stack allocated object of PxTransform
-
destroy
public void destroy()
-
-