java.lang.Object
physx.NativeObject
physx.common.PxTransform
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPxTransform(long address) PxTransform(PxVec3 p0, PxQuat q0) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxTransformarrayGet(long baseAddress, int index) static PxTransformcreateAt(long address) static PxTransformcreateAt(long address, PxIDENTITYEnum r) static PxTransformstatic <T> PxTransformcreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxTransformcreateAt(T allocator, NativeObject.Allocator<T> allocate, PxIDENTITYEnum r) static <T> PxTransformcreateAt(T allocator, NativeObject.Allocator<T> allocate, PxVec3 p0, PxQuat q0) voiddestroy()getP()getQ()voidvoidstatic PxTransformwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxTransform
protected PxTransform(long address) -
PxTransform
public PxTransform() -
PxTransform
- Parameters:
r- WebIDL type:PxIDENTITYEnum[enum]
-
PxTransform
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxTransform
-
createAt
- 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.- Returns:
- Stack allocated object of PxTransform
-
createAt
- 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, PxIDENTITYEnum 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
-
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() -
getQ
- Returns:
- WebIDL type:
PxQuat[Value]
-
setQ
- Parameters:
value- WebIDL type:PxQuat[Value]
-
getP
- Returns:
- WebIDL type:
PxVec3[Value]
-
setP
- Parameters:
value- WebIDL type:PxVec3[Value]
-