Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
AngelOgre_Overlay.h
Go to the documentation of this file.
1
2namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3
14 class Overlay
15 {
16 public:
17 // (order roughly matches OgreOverlay.h)
18
19 const string& getName() const;
20 // > z-order
21 uint16 getZOrder();
22 // > visibility
23 bool isVisible() const;
24 void show();
25 void hide();
26 // > 2D elements
27 void add2D(OverlayElement@);
28 void remove2D(OverlayElement@);
29 // > scrolling
30 void setScroll(float, float);
31 float getScrollX() const;
32 float getScrollY() const;
33 void scroll(float, float);
34 // > rotating
35 void setRotate(const radian&in);
36 const radian& getRotate() const;
37 void rotate(const radian&in);
38 // > scaling
39 void setScale(float, float);
40 float getScaleX() const;
41 float getScaleY() const;
42 // > 2D elements
43 array<OverlayElement@>@ get2DElements();
44
45 };
46
49
50} // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
51
52
void setScroll(float, float)
void setScale(float, float)
array< OverlayElement@> get2DElements()
void scroll(float, float)
float getScaleX() const
const string & getName() const
float getScrollY() const
float getScaleY() const
bool isVisible() const
const radian & getRotate() const
float getScrollX() const
void rotate(const radian &in)
void setRotate(const radian &in)
void remove2D(OverlayElement@)
void add2D(OverlayElement@)
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...