gwnavruntime/collision/collisiondata.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_CollisionData_H
9 #define Navigation_CollisionData_H
25 class ICollisionInterface;
32 class CollisionData :
public WorldElement
38 virtual const char* GetTypeName()
const {
return "ColData"; }
48 KyResult LoadFromMemory(
void* memory);
52 void AddDescriptorToBlobAggregate();
54 KyGuid GetGUID() {
return m_descriptor.
m_guid; }
60 Ptr<BlobAggregate> m_blobAggregate;
61 Ptr<HeightField> m_heightfield;
62 ColDataSectorDescriptor m_descriptor;
67 #endif // Navigation_CollisionData_H
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
The CollisionData class represents Collision Data that will be added to a CollisionWorld.
Definition: collisiondata.h:34
KyResult Load(const char *fileName, FileOpenerBase *fileOpener=0)
Load data from .ColData files created by the Gameware Navigation Generation framework.
#define KY_NULL
Null value.
Definition: types.h:247
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Big-endian format (used, for example, for PlayStation 3, Xbox 360).
Definition: endianness.h:31
WorldElementType
Enumerates the WorldElement types.
Definition: worldelementtype.h:15
Definition: gamekitcrowddispersion.h:20
KyGuid m_guid
Index of the Lab's database in which the NavData will be added to.
Definition: collisiondatasectordescriptor.h:92
Type
Enumerates possible endianness types.
Definition: endianness.h:28