Emergency 20 Dokumentation  4.2.0
HighlightComponent-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
15  {
16  return mHighlightFlags.isSet(flag);
17  }
18 
20  {
21  return mCurrentHighlightType;
22  }
23 
25  {
26  return mGroundSpotLightRadius;
27  }
28 
30  {
31  return mSpotLightNearClipDistance;
32  }
33 
35  {
36  return mGroundHeight;
37  }
38 
39 
40 //[-------------------------------------------------------]
41 //[ Namespace ]
42 //[-------------------------------------------------------]
43 } // em5
Definition: ActionPriority.h:13
bool getHighlightFlags(HighlightComponent::HighlightFlags flag) const
Quick getter for the highlight flags.
Definition: HighlightComponent-inl.h:14
float getSpotLightNearClipDistance() const
Definition: HighlightComponent-inl.h:29
float getGroundHeight() const
Definition: HighlightComponent-inl.h:34
float getGroundSpotLightRadius() const
Definition: HighlightComponent-inl.h:24
HighlightFlags
Definition: HighlightComponent.h:45
HighlightFlags getCurrentHighlightType() const
Definition: HighlightComponent-inl.h:19
bool isSet(ENUM flag) const
Check whether a certain flag is set.
Definition: EnumBitmask.h:118