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()intThe offset in bytes between consecutive samples in the data.voidsetData(NativeObject value) voidsetStride(int value) The offset in bytes between consecutive samples in the data.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()The offset in bytes between consecutive samples in the data.Default: 0
-
setStride
public void setStride(int value) The offset in bytes between consecutive samples in the data.Default: 0
-
getData
-
setData
-