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
TerrainClass.h
Go to the documentation of this file.
1
2namespace Script2Game {
3
17{
18public:
21
26
31
36
40 string getGUID();
41
45 int getVersion();
46
47 CacheEntryPtr@ getCacheEntry();
48
50
53
57 bool isFlat();
58
59 float getHeightAt(float x, float z);
60
64 vector3 getSpawnPos();
65
69 degree getSpawnRot();
70
72
75
86 void addSurveyMapEntity(const std::string& type, const std::string& filename, const std::string& resource_group, const std::string& caption, const Ogre::Vector3& pos, float angle, int id);
87
93
95
97};
98
101
102} //namespace Script2Game
Binding of RoR::ProceduralManager; generates dynamic roads for terrain.
Binding of RoR::Terrain; represents a loaded terrain.
float getHeightAt(float x, float z)
string getTerrainFileResourceGroup()
CacheEntryPtr getCacheEntry()
ProceduralManagerClass getProceduralManager()
void addSurveyMapEntity(const std::string &type, const std::string &filename, const std::string &resource_group, const std::string &caption, const Ogre::Vector3 &pos, float angle, int id)
Adds an icon with description to survey map (minimap).
void delSurveyMapEntities(int id)
Removes all survey map icons with the given ID.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.