gwnavruntime/pathfollower/collidercollectorconfig.h Source File

collidercollectorconfig.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
10 
11 namespace Kaim
12 {
13 
16 {
18 
19 public:
21 
23  void SetDefaults()
24  {
28  }
29 
30  bool operator==(const ColliderCollectorConfig& other) const
31  {
35  }
36 
37  bool operator!=(const ColliderCollectorConfig& other) const
38  {
39  return !operator==(other);
40  }
41 
42 public:
43  // ---------------------------------- Potential Collider Collection Parameters ----------------------------------
44 
48 
52 
56 };
57 
58 inline void SwapEndianness(Endianness::Target e, ColliderCollectorConfig& self)
59 {
60  SwapEndianness(e, self.m_colliderCollectorRadius);
61  SwapEndianness(e, self.m_colliderCollectorHalfHeight);
62  SwapEndianness(e, self.m_colliderCollectorFramesBetweenUpdates);
63 }
64 
65 
66 } // namespace Kaim
67 
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
Class that configures how the Bot collects colliders (other bots, obstacles) around.
Definition: collidercollectorconfig.h:15
KyUInt32 m_colliderCollectorFramesBetweenUpdates
Defines the number of frames between two consecutive collection of potential colliders.
Definition: collidercollectorconfig.h:55
#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
KyFloat32 m_colliderCollectorRadius
Defines the radius around the Bot in which potential colliders will be collected. ...
Definition: collidercollectorconfig.h:47
void SetDefaults()
Sets all members to their default value.
Definition: collidercollectorconfig.h:23
KyFloat32 m_colliderCollectorHalfHeight
Defines the height above and below the Bot altitude in which potential colliders will be collected...
Definition: collidercollectorconfig.h:51
float KyFloat32
float
Definition: types.h:32