|
RavEngine
|
Public Member Functions | |
| PX_FORCE_INLINE void | setDataAndCount (T *data, const PxU32 count) |
| Set the data as an array of structs and set the number of data entries. | |
| PX_FORCE_INLINE void | setDataAndCount (T *const *data, const PxU32 count) |
| Set the data as an array of pointers and set the number of data entries. | |
| PX_FORCE_INLINE void | setEmpty () |
| Set as empty. | |
| PX_FORCE_INLINE bool | isEmpty () const |
| Check if declared as empty. | |
Public Member Functions inherited from physx::vehicle2::PxVehicleArrayData< T > | |
| PX_FORCE_INLINE void | setData (T *data) |
| Set the data as an array of structs. | |
| PX_FORCE_INLINE void | setData (T *const *data) |
| Set the data as an array of pointers. | |
| PX_FORCE_INLINE | PxVehicleArrayData (T *data) |
| PX_FORCE_INLINE | PxVehicleArrayData (T *const *data) |
| PX_FORCE_INLINE T & | getData (PxU32 index) |
| Get the data entry at a given index. | |
| PX_FORCE_INLINE T & | operator[] (PxU32 index) |
| PX_FORCE_INLINE const T & | getData (PxU32 index) const |
| Get the data entry at a given index. | |
| PX_FORCE_INLINE const T & | operator[] (PxU32 index) const |
| PX_FORCE_INLINE void | setEmpty () |
| Set as empty. | |
| PX_FORCE_INLINE bool | isEmpty () const |
| Check if declared as empty. | |
| PX_FORCE_INLINE const PxVehicleArrayData< const T > & | getConst () const |
| Get a reference to the array but read only. | |
Public Attributes | ||
| PxU32 | size | |
Public Attributes inherited from physx::vehicle2::PxVehicleArrayData< T > | ||
| union { | ||
| T * arrayOfStructs | ||
| The data stored as an array of structs. | ||
| T *const * arrayOfPointers | ||
| The data stored as an array of pointers. | ||
| }; | ||
| PxU8 | dataFormat | |
Additional Inherited Members | |
Public Types inherited from physx::vehicle2::PxVehicleArrayData< T > | |
| enum | DataFormat { eARRAY_OF_STRUCTS = 0 , eARRAY_OF_POINTERS } |
|
inline |
Check if declared as empty.
|
inline |
Set the data as an array of pointers and set the number of data entries.
| [in] | data | The data as an array of pointers. |
| [in] | count | The number of entries in the data array. |
|
inline |
Set the data as an array of structs and set the number of data entries.
| [in] | data | The data as an array of structs. |
| [in] | count | The number of entries in the data array. |