Atoms Crowd  7.0.0
AgentInitData.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <Atoms/Globals.h>
11 #include <AtomsCore/AtomsMath.h>
12 #include <Atoms/AgentType.h>
13 
14 namespace Atoms
15 {
17 
20  class ATOMS_EXPORT AgentInitData
21  {
22  public:
23 
26 
27  public:
28 
31 
34 
37 
40 
43 
45  long groupId;
46 
47  std::string syncParentAgentGroup;
48 
49  std::string syncAgentGroup;
50 
52  long syncLevel;
53 
54  std::string syncParentJoint;
55 
56  std::string syncJoint;
57 
58  long syncAgentId;
59 
60  AtomsCore::Matrix syncOffset;
61 
62  std::string layoutName;
63 
64  std::string variation;
65 
66  AtomsCore::MapMetadata metadata;
67  };
68 }
Agent init data.
Definition: AgentInitData.h:21
AgentInitData()
Constructor.
AtomsCore::Vector3 direction
Agent direction.
Definition: AgentInitData.h:33
AtomsCore::Vector3 position
Agent position.
Definition: AgentInitData.h:30
AtomsCore::Vector3 scale
Agent scale.
Definition: AgentInitData.h:39
long syncLevel
Sync level.
Definition: AgentInitData.h:52
AtomsCore::Vector3 upDirection
Agent up vector.
Definition: AgentInitData.h:36
AgentTypePtr agentType
Agent type.
Definition: AgentInitData.h:42
long groupId
Group Id, if not set the agent group will make one at agent creation time.
Definition: AgentInitData.h:45
MapMetadata class.
Definition: MapMetadata.h:24
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29
AtomsPtr< AgentType > AgentTypePtr
Agent type pointer.
Definition: AgentType.h:17