java.lang.Object
physx.NativeObject
physx.common.PxStridedData
- Direct Known Subclasses:
PxBoundedData
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxStridedDataarrayGet(long baseAddress, int index) voiddestroy()getData()The offset in bytes between consecutive samples in the data.intvoidsetData(NativeObject value) The offset in bytes between consecutive samples in the data.voidsetStride(int value) static PxStridedDatawrapPointer(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
-
PxStridedData
protected PxStridedData() -
PxStridedData
protected PxStridedData(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getStride
public int getStride() -
setStride
public void setStride(int value) -
getData
The offset in bytes between consecutive samples in the data.Default: 0
-
setData
The offset in bytes between consecutive samples in the data.Default: 0
-