java.lang.Object
physx.NativeObject
physx.support.PxArray_PxMaterialConst
-
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
ConstructorsModifierConstructorDescriptionPxArray_PxMaterialConst(int size) protectedPxArray_PxMaterialConst(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxArray_PxMaterialConstarrayGet(long baseAddress, int index) begin()voidclear()static PxArray_PxMaterialConstcreateAt(long address) static PxArray_PxMaterialConstcreateAt(long address, int size) static <T> PxArray_PxMaterialConstcreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxArray_PxMaterialConstcreateAt(T allocator, NativeObject.Allocator<T> allocate, int size) voiddestroy()get(int index) voidpushBack(PxMaterial value) voidset(int index, PxMaterialConstPtr value) intsize()static PxArray_PxMaterialConstwrapPointer(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
-
PxArray_PxMaterialConst
protected PxArray_PxMaterialConst(long address) -
PxArray_PxMaterialConst
public PxArray_PxMaterialConst() -
PxArray_PxMaterialConst
public PxArray_PxMaterialConst(int size) - Parameters:
size- WebIDL type: unsigned long
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxArray_PxMaterialConst
-
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 PxArray_PxMaterialConst
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.size- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxArray_PxMaterialConst
-
createAt
public static <T> PxArray_PxMaterialConst createAt(T allocator, NativeObject.Allocator<T> allocate, int size) - 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.size- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxArray_PxMaterialConst
-
destroy
public void destroy() -
get
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxMaterial[Const]
-
set
- Parameters:
index- WebIDL type: unsigned longvalue- WebIDL type:PxMaterialConstPtr[Const, Ref]
-
begin
- Returns:
- WebIDL type:
PxMaterialConstPtr
-
size
public int size()- Returns:
- WebIDL type: unsigned long
-
pushBack
- Parameters:
value- WebIDL type:PxMaterial[Const]
-
clear
public void clear()
-