java.lang.Object
physx.NativeObject
physx.support.PxArray_PxSweepHit
-
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_PxSweepHit(int size) protectedPxArray_PxSweepHit(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxArray_PxSweepHitarrayGet(long baseAddress, int index) begin()voidclear()static PxArray_PxSweepHitcreateAt(long address) static PxArray_PxSweepHitcreateAt(long address, int size) static <T> PxArray_PxSweepHitcreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxArray_PxSweepHitcreateAt(T allocator, NativeObject.Allocator<T> allocate, int size) voiddestroy()get(int index) voidpushBack(PxSweepHit value) voidset(int index, PxSweepHit value) intsize()static PxArray_PxSweepHitwrapPointer(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_PxSweepHit
protected PxArray_PxSweepHit(long address) -
PxArray_PxSweepHit
public PxArray_PxSweepHit() -
PxArray_PxSweepHit
public PxArray_PxSweepHit(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_PxSweepHit
-
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_PxSweepHit
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.size- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxArray_PxSweepHit
-
createAt
public static <T> PxArray_PxSweepHit 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_PxSweepHit
-
destroy
public void destroy() -
get
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxSweepHit[Ref]
-
set
- Parameters:
index- WebIDL type: unsigned longvalue- WebIDL type:PxSweepHit[Const, Ref]
-
begin
- Returns:
- WebIDL type:
PxSweepHit
-
size
public int size()- Returns:
- WebIDL type: unsigned long
-
pushBack
- Parameters:
value- WebIDL type:PxSweepHit[Ref]
-
clear
public void clear()
-