public class PxQuat extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxQuat() |
|
PxQuat(float x,
float y,
float z,
float w) |
|
PxQuat(int r) |
protected |
PxQuat(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxQuat |
createAt(long address) |
static PxQuat |
createAt(long address,
float x,
float y,
float z,
float w) |
static PxQuat |
createAt(long address,
int r) |
static <T> PxQuat |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
static <T> PxQuat |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
float x,
float y,
float z,
float w) |
static <T> PxQuat |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
int r) |
void |
destroy() |
float |
getW() |
float |
getX() |
float |
getY() |
float |
getZ() |
void |
setW(float value) |
void |
setX(float value) |
void |
setY(float value) |
void |
setZ(float value) |
static PxQuat |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxQuat(long address)
public PxQuat()
public PxQuat(int r)
r - WebIDL type: PxIDENTITYEnum [enum]public PxQuat(float x,
float y,
float z,
float w)
x - WebIDL type: floaty - WebIDL type: floatz - WebIDL type: floatw - WebIDL type: floatpublic static PxQuat wrapPointer(long address)
public static PxQuat createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxQuat createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.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.public static PxQuat createAt(long address, int r)
address - Pre-allocated memory, where the object is created.r - WebIDL type: PxIDENTITYEnum [enum]public static <T> PxQuat createAt(T allocator, NativeObject.Allocator<T> allocate, int r)
T - Allocator class, e.g. LWJGL's MemoryStack.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]public static PxQuat createAt(long address, float x, float y, float z, float w)
address - Pre-allocated memory, where the object is created.x - WebIDL type: floaty - WebIDL type: floatz - WebIDL type: floatw - WebIDL type: floatpublic static <T> PxQuat createAt(T allocator, NativeObject.Allocator<T> allocate, float x, float y, float z, float w)
T - Allocator class, e.g. LWJGL's MemoryStack.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.x - WebIDL type: floaty - WebIDL type: floatz - WebIDL type: floatw - WebIDL type: floatpublic void destroy()
public float getX()
public void setX(float value)
value - WebIDL type: floatpublic float getY()
public void setY(float value)
value - WebIDL type: floatpublic float getZ()
public void setZ(float value)
value - WebIDL type: floatpublic float getW()
public void setW(float value)
value - WebIDL type: float