gwnavruntime/collision/collisiondataindex.h Source File
Go to the documentation of this file.
21 class ColDataDescriptor
26 ColDataDescriptor() {}
27 const char* GetFileName()
const {
return m_fileName.GetValues(); }
29 BlobArray<char> m_fileName;
35 SwapEndianness(e,
self.m_fileName);
36 SwapEndianness(e,
self.m_guid);
37 SwapEndianness(e,
self.m_boundingBox);
44 KY_ROOT_BLOB_CLASS(CollisionData, ColDataIndex, 0)
48 KyUInt32 GetDescriptorsCount()
const {
return m_descriptors.GetCount(); }
49 const ColDataDescriptor& GetDescriptor(
KyUInt32 index)
const {
return m_descriptors.GetValues()[index]; }
50 BlobArray<ColDataDescriptor> m_descriptors;
55 SwapEndianness(e,
self.m_descriptors);
58 class ColDataIndexLoader
63 static Ptr< BlobHandler<ColDataIndex> > LoadColDataIndex(const
char* filename, FileOpenerBase* fileOpener =
nullptr);
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17