\hypertarget{class_ogre_1_1_terrain_global_options}{}\doxysection{Ogre\+::Terrain\+Global\+Options Class Reference}
\label{class_ogre_1_1_terrain_global_options}\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}


Options class which just stores default options for the terrain.  




{\ttfamily \#include $<$Ogre\+Terrain.\+h$>$}



Inheritance diagram for Ogre\+::Terrain\+Global\+Options\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=308pt]{class_ogre_1_1_terrain_global_options__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}{Terrain\+Global\+Options}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a2926f893a8ba2a09064aad63c3bf4472}{$\sim$\+Terrain\+Global\+Options}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_aaccc644a84e01e88954086048502a7e1}{add\+Query\+Flags}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} flags)
\begin{DoxyCompactList}\small\item\em As set\+Query\+Flags, except the flags passed as parameters are appended to the existing flags on this object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a7799e8003167a17a38fc04a67cf93a2e}{get\+Casts\+Dynamic\+Shadows}} () const
\begin{DoxyCompactList}\small\item\em Whether the terrain will be able to cast shadows (texture shadows only are supported, and you must be using depth shadow maps). \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a9484c2caa8695746b507cd771e68c878}{get\+Composite\+Map\+Ambient}} () const
\begin{DoxyCompactList}\small\item\em Get the composite map ambient light to use. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \& \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ae127928c927ba1d80c9b0f133ee1800d}{get\+Composite\+Map\+Diffuse}} () const
\begin{DoxyCompactList}\small\item\em Get the composite map iffuse light to use. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a631d34776b22f9491153cdc5bd22434b}{get\+Composite\+Map\+Distance}} () const
\begin{DoxyCompactList}\small\item\em Get the distance at which to start using a composite map if present. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a7a212edf66436826fbc090d69cb88766}{get\+Composite\+Map\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the default size of the composite maps for a new terrain. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a8ec03f22751bf4b7bf0baa24cf271799}{get\+Default\+Global\+Colour\+Map\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the default size of the terrain global colour map for a new terrain. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a0da4e02bc802061f23c2756117e7f9a6}{get\+Default\+Layer\+Texture\+World\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the default world size for a layer \textquotesingle{}splat\textquotesingle{} texture to cover. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a01856a71b813370bc57839da50eb76c8}{get\+Default\+Material\+Generator}} ()
\begin{DoxyCompactList}\small\item\em Get the default material generator. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ab05a9626133265f3f64750ab64208582}{get\+Default\+Resource\+Group}} () const
\begin{DoxyCompactList}\small\item\em Get the default resource group to use to load / save terrains. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_abaaf803e7181e4151ae053f8f3b1ca54}{get\+Layer\+Blend\+Map\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the default size of the blend maps for a new terrain. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \& \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a3ae46003e8c12d84f72c4a199ad691a3}{get\+Light\+Map\+Direction}} () const
\begin{DoxyCompactList}\small\item\em Get the shadow map light direction to use (world space) \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a51e4e14773bb9a73d7cbfcc8c0f16bd5}{get\+Light\+Map\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the default size of the lightmaps for a new terrain. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a15d4f736e32c8f1faa474ba60b9e2bde}{get\+Max\+Pixel\+Error}} () const
\begin{DoxyCompactList}\small\item\em Get the maximum screen pixel error that should be allowed when rendering. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a6fcce3f601e0e6b6a9c495f45fb36fc8}{get\+Query\+Flags}} (void) const
\begin{DoxyCompactList}\small\item\em Get the default query flags for terrains. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a82c5cd78bcea99d94db8070e04a6e3ed}{get\+Render\+Queue\+Group}} (void) const
\begin{DoxyCompactList}\small\item\em Get the render queue group that this terrain will be rendered into. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a49aa0d4d209532421cf6339d0b0a859a}{get\+Skirt\+Size}} () const
\begin{DoxyCompactList}\small\item\em The default size of \textquotesingle{}skirts\textquotesingle{} used to hide terrain cracks (default 10) \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a41a60bd9535039a3d29b07fdf4124b32}{get\+Use\+Ray\+Box\+Distance\+Calculation}} () const
\begin{DoxyCompactList}\small\item\em Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A\+A\+BB intersection) or whether to use the simpler distance from the tile centre. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a838b9b89f364717e59d89eeb59f789b2}{get\+Use\+Vertex\+Compression\+When\+Available}} () const
\begin{DoxyCompactList}\small\item\em Get whether to allow vertex compression to be used when the material generator states that it supports it. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a92f355a7fd402435d06b4176e26e0f2e}{get\+Visibility\+Flags}} (void) const
\begin{DoxyCompactList}\small\item\em Get the visbility flags that terrains will be rendered with. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ae7612bb654507fd6f0e148adca85aa41}{remove\+Query\+Flags}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} flags)
\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a9cdb0627494bf2d153ec2ffde2484bda}{set\+Casts\+Dynamic\+Shadows}} (bool s)
\begin{DoxyCompactList}\small\item\em Whether the terrain will be able to cast shadows (texture shadows only are supported, and you must be using depth shadow maps). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a0db83e224e43b4b2139d98d7682fd537}{set\+Composite\+Map\+Ambient}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&c)
\begin{DoxyCompactList}\small\item\em Set the composite map ambient light to use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a39b7fdcd9e04c019bf99409ef55d855a}{set\+Composite\+Map\+Diffuse}} (const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&c)
\begin{DoxyCompactList}\small\item\em Set the composite map diffuse light to use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_aa80e448823ce5fff95245461f87d9927}{set\+Composite\+Map\+Distance}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} c)
\begin{DoxyCompactList}\small\item\em Set the distance at which to start using a composite map if present. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a0d449a2ed56acd7959eb5fc7d894025c}{set\+Composite\+Map\+Size}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} sz)
\begin{DoxyCompactList}\small\item\em Sets the default size of composite maps for a new terrain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a67dd1f4bf48968238e845e2939d744a0}{set\+Default\+Global\+Colour\+Map\+Size}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} sz)
\begin{DoxyCompactList}\small\item\em Set the default size of the terrain global colour map for a new terrain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a6ee9f93b4bdb72f8de6562192db22dad}{set\+Default\+Layer\+Texture\+World\+Size}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} sz)
\begin{DoxyCompactList}\small\item\em Set the default world size for a layer \textquotesingle{}splat\textquotesingle{} texture to cover. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ae4311ab0c8bf4a1014dc55471b7084d1}{set\+Default\+Material\+Generator}} (\mbox{\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr}} gen)
\begin{DoxyCompactList}\small\item\em Set the default material generator. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a0aeba371e3e83537d3269e0da4a476b9}{set\+Default\+Resource\+Group}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&grp)
\begin{DoxyCompactList}\small\item\em Set the default resource group to use to load / save terrains. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a629f5b31ac27bc8b19d0dcf9ddc9bc9f}{set\+Layer\+Blend\+Map\+Size}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} sz)
\begin{DoxyCompactList}\small\item\em Sets the default size of blend maps for a new terrain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a4f2c45cf37eb725be27e96b39383b622}{set\+Light\+Map\+Direction}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&v)
\begin{DoxyCompactList}\small\item\em Set the shadow map light direction to use (world space). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a62aaf2d6a7c072adadbacc3c517351f9}{set\+Light\+Map\+Size}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} sz)
\begin{DoxyCompactList}\small\item\em Sets the default size of lightmaps for a new terrain. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a17a76921b32eaa417b109a811f2c4c81}{set\+Max\+Pixel\+Error}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} pixerr)
\begin{DoxyCompactList}\small\item\em Set the maximum screen pixel error that should be allowed when rendering. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a7194f2b178f46f69211d630d081624a7}{set\+Query\+Flags}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} flags)
\begin{DoxyCompactList}\small\item\em Set the default query flags for terrains. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ae2c546b4465ef1e321f2cbc1895c4227}{set\+Render\+Queue\+Group}} (\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} grp)
\begin{DoxyCompactList}\small\item\em Set the render queue group that terrains will be rendered into. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a1edb0e8e24ef3f8d7ef698b88eb97613}{set\+Skirt\+Size}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} skirt\+Sz)
\begin{DoxyCompactList}\small\item\em method -\/ the default size of \textquotesingle{}skirts\textquotesingle{} used to hide terrain cracks (default 10) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a405c05d36af7a415b4aadf05492976de}{set\+Use\+Ray\+Box\+Distance\+Calculation}} (bool rb)
\begin{DoxyCompactList}\small\item\em Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile, or whether to use the simple distance from the tile centre. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a099ad9ade850e0b6d3146989441c52bc}{set\+Use\+Vertex\+Compression\+When\+Available}} (bool enable)
\begin{DoxyCompactList}\small\item\em Set whether to allow vertex compression to be used when the material generator states that it supports it. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a8b7b87457f57b14e1dce2d023a0229d8}{set\+Visibility\+Flags}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} flags)
\begin{DoxyCompactList}\small\item\em Set the visbility flags that terrains will be rendered with. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options}} \& \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_ac1c2d87bb764edfd517ebb6047df358e}{get\+Singleton}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_terrain_global_options_a90d18ba554df4386d9041bf3d57d9772}{get\+Singleton\+Ptr}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Options class which just stores default options for the terrain. 

\begin{DoxyRemark}{Remarks}
None of these options are stored with the terrain when saved. They are options that you can use to modify the behaviour of the terrain when it is loaded or created. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
You should construct a single instance of this class per application and do so before you start working with any other terrain classes. 
\end{DoxyNote}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}\label{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!TerrainGlobalOptions@{TerrainGlobalOptions}}
\index{TerrainGlobalOptions@{TerrainGlobalOptions}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{TerrainGlobalOptions()}{TerrainGlobalOptions()}}
{\footnotesize\ttfamily Ogre\+::\+Terrain\+Global\+Options\+::\+Terrain\+Global\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a2926f893a8ba2a09064aad63c3bf4472}\label{class_ogre_1_1_terrain_global_options_a2926f893a8ba2a09064aad63c3bf4472}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!````~TerrainGlobalOptions@{$\sim$TerrainGlobalOptions}}
\index{````~TerrainGlobalOptions@{$\sim$TerrainGlobalOptions}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{$\sim$TerrainGlobalOptions()}{~TerrainGlobalOptions()}}
{\footnotesize\ttfamily Ogre\+::\+Terrain\+Global\+Options\+::$\sim$\+Terrain\+Global\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a49aa0d4d209532421cf6339d0b0a859a}\label{class_ogre_1_1_terrain_global_options_a49aa0d4d209532421cf6339d0b0a859a}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getSkirtSize@{getSkirtSize}}
\index{getSkirtSize@{getSkirtSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getSkirtSize()}{getSkirtSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Skirt\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



The default size of \textquotesingle{}skirts\textquotesingle{} used to hide terrain cracks (default 10) 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a1edb0e8e24ef3f8d7ef698b88eb97613}\label{class_ogre_1_1_terrain_global_options_a1edb0e8e24ef3f8d7ef698b88eb97613}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setSkirtSize@{setSkirtSize}}
\index{setSkirtSize@{setSkirtSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setSkirtSize()}{setSkirtSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Skirt\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{skirt\+Sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



method -\/ the default size of \textquotesingle{}skirts\textquotesingle{} used to hide terrain cracks (default 10) 

\begin{DoxyRemark}{Remarks}
Changing this value only applies to \mbox{\hyperlink{class_ogre_1_1_terrain}{Terrain}} instances loaded / reloaded afterwards. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a3ae46003e8c12d84f72c4a199ad691a3}\label{class_ogre_1_1_terrain_global_options_a3ae46003e8c12d84f72c4a199ad691a3}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getLightMapDirection@{getLightMapDirection}}
\index{getLightMapDirection@{getLightMapDirection}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getLightMapDirection()}{getLightMapDirection()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}}\& Ogre\+::\+Terrain\+Global\+Options\+::get\+Light\+Map\+Direction (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the shadow map light direction to use (world space) 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a4f2c45cf37eb725be27e96b39383b622}\label{class_ogre_1_1_terrain_global_options_a4f2c45cf37eb725be27e96b39383b622}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setLightMapDirection@{setLightMapDirection}}
\index{setLightMapDirection@{setLightMapDirection}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setLightMapDirection()}{setLightMapDirection()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Light\+Map\+Direction (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the shadow map light direction to use (world space). 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a9484c2caa8695746b507cd771e68c878}\label{class_ogre_1_1_terrain_global_options_a9484c2caa8695746b507cd771e68c878}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getCompositeMapAmbient@{getCompositeMapAmbient}}
\index{getCompositeMapAmbient@{getCompositeMapAmbient}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getCompositeMapAmbient()}{getCompositeMapAmbient()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Terrain\+Global\+Options\+::get\+Composite\+Map\+Ambient (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the composite map ambient light to use. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a0db83e224e43b4b2139d98d7682fd537}\label{class_ogre_1_1_terrain_global_options_a0db83e224e43b4b2139d98d7682fd537}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setCompositeMapAmbient@{setCompositeMapAmbient}}
\index{setCompositeMapAmbient@{setCompositeMapAmbient}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setCompositeMapAmbient()}{setCompositeMapAmbient()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Ambient (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the composite map ambient light to use. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ae127928c927ba1d80c9b0f133ee1800d}\label{class_ogre_1_1_terrain_global_options_ae127928c927ba1d80c9b0f133ee1800d}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getCompositeMapDiffuse@{getCompositeMapDiffuse}}
\index{getCompositeMapDiffuse@{getCompositeMapDiffuse}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getCompositeMapDiffuse()}{getCompositeMapDiffuse()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}}\& Ogre\+::\+Terrain\+Global\+Options\+::get\+Composite\+Map\+Diffuse (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the composite map iffuse light to use. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a39b7fdcd9e04c019bf99409ef55d855a}\label{class_ogre_1_1_terrain_global_options_a39b7fdcd9e04c019bf99409ef55d855a}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setCompositeMapDiffuse@{setCompositeMapDiffuse}}
\index{setCompositeMapDiffuse@{setCompositeMapDiffuse}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setCompositeMapDiffuse()}{setCompositeMapDiffuse()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Diffuse (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the composite map diffuse light to use. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a631d34776b22f9491153cdc5bd22434b}\label{class_ogre_1_1_terrain_global_options_a631d34776b22f9491153cdc5bd22434b}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getCompositeMapDistance@{getCompositeMapDistance}}
\index{getCompositeMapDistance@{getCompositeMapDistance}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getCompositeMapDistance()}{getCompositeMapDistance()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Composite\+Map\+Distance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the distance at which to start using a composite map if present. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_aa80e448823ce5fff95245461f87d9927}\label{class_ogre_1_1_terrain_global_options_aa80e448823ce5fff95245461f87d9927}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setCompositeMapDistance@{setCompositeMapDistance}}
\index{setCompositeMapDistance@{setCompositeMapDistance}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setCompositeMapDistance()}{setCompositeMapDistance()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Distance (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the distance at which to start using a composite map if present. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a7799e8003167a17a38fc04a67cf93a2e}\label{class_ogre_1_1_terrain_global_options_a7799e8003167a17a38fc04a67cf93a2e}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getCastsDynamicShadows@{getCastsDynamicShadows}}
\index{getCastsDynamicShadows@{getCastsDynamicShadows}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getCastsDynamicShadows()}{getCastsDynamicShadows()}}
{\footnotesize\ttfamily bool Ogre\+::\+Terrain\+Global\+Options\+::get\+Casts\+Dynamic\+Shadows (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Whether the terrain will be able to cast shadows (texture shadows only are supported, and you must be using depth shadow maps). 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a9cdb0627494bf2d153ec2ffde2484bda}\label{class_ogre_1_1_terrain_global_options_a9cdb0627494bf2d153ec2ffde2484bda}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setCastsDynamicShadows@{setCastsDynamicShadows}}
\index{setCastsDynamicShadows@{setCastsDynamicShadows}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setCastsDynamicShadows()}{setCastsDynamicShadows()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Casts\+Dynamic\+Shadows (\begin{DoxyParamCaption}\item[{bool}]{s }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Whether the terrain will be able to cast shadows (texture shadows only are supported, and you must be using depth shadow maps). 

This value can be set dynamically, and affects all existing terrains. It defaults to false. \mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a15d4f736e32c8f1faa474ba60b9e2bde}\label{class_ogre_1_1_terrain_global_options_a15d4f736e32c8f1faa474ba60b9e2bde}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getMaxPixelError@{getMaxPixelError}}
\index{getMaxPixelError@{getMaxPixelError}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getMaxPixelError()}{getMaxPixelError()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Max\+Pixel\+Error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the maximum screen pixel error that should be allowed when rendering. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a17a76921b32eaa417b109a811f2c4c81}\label{class_ogre_1_1_terrain_global_options_a17a76921b32eaa417b109a811f2c4c81}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setMaxPixelError@{setMaxPixelError}}
\index{setMaxPixelError@{setMaxPixelError}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setMaxPixelError()}{setMaxPixelError()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Max\+Pixel\+Error (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{pixerr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the maximum screen pixel error that should be allowed when rendering. 

\begin{DoxyNote}{Note}
This value can be varied dynamically and affects all existing terrains. It will be weighted by the L\+OD bias on viewports. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a82c5cd78bcea99d94db8070e04a6e3ed}\label{class_ogre_1_1_terrain_global_options_a82c5cd78bcea99d94db8070e04a6e3ed}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getRenderQueueGroup@{getRenderQueueGroup}}
\index{getRenderQueueGroup@{getRenderQueueGroup}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getRenderQueueGroup()}{getRenderQueueGroup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Render\+Queue\+Group (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the render queue group that this terrain will be rendered into. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ae2c546b4465ef1e321f2cbc1895c4227}\label{class_ogre_1_1_terrain_global_options_ae2c546b4465ef1e321f2cbc1895c4227}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setRenderQueueGroup@{setRenderQueueGroup}}
\index{setRenderQueueGroup@{setRenderQueueGroup}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setRenderQueueGroup()}{setRenderQueueGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Render\+Queue\+Group (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{grp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the render queue group that terrains will be rendered into. 

\begin{DoxyRemark}{Remarks}
This applies to newly created terrains, after which they will maintain their own queue group settings 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a92f355a7fd402435d06b4176e26e0f2e}\label{class_ogre_1_1_terrain_global_options_a92f355a7fd402435d06b4176e26e0f2e}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getVisibilityFlags@{getVisibilityFlags}}
\index{getVisibilityFlags@{getVisibilityFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getVisibilityFlags()}{getVisibilityFlags()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Visibility\+Flags (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the visbility flags that terrains will be rendered with. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a8b7b87457f57b14e1dce2d023a0229d8}\label{class_ogre_1_1_terrain_global_options_a8b7b87457f57b14e1dce2d023a0229d8}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setVisibilityFlags@{setVisibilityFlags}}
\index{setVisibilityFlags@{setVisibilityFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setVisibilityFlags()}{setVisibilityFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Visibility\+Flags (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the visbility flags that terrains will be rendered with. 

\begin{DoxyRemark}{Remarks}
This applies to newly created terrains, after which they will maintain their own settings 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a7194f2b178f46f69211d630d081624a7}\label{class_ogre_1_1_terrain_global_options_a7194f2b178f46f69211d630d081624a7}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setQueryFlags@{setQueryFlags}}
\index{setQueryFlags@{setQueryFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setQueryFlags()}{setQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Query\+Flags (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the default query flags for terrains. 

\begin{DoxyRemark}{Remarks}
This applies to newly created terrains, after which they will maintain their own settings 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a6fcce3f601e0e6b6a9c495f45fb36fc8}\label{class_ogre_1_1_terrain_global_options_a6fcce3f601e0e6b6a9c495f45fb36fc8}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getQueryFlags@{getQueryFlags}}
\index{getQueryFlags@{getQueryFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getQueryFlags()}{getQueryFlags()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Query\+Flags (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default query flags for terrains. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_aaccc644a84e01e88954086048502a7e1}\label{class_ogre_1_1_terrain_global_options_aaccc644a84e01e88954086048502a7e1}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!addQueryFlags@{addQueryFlags}}
\index{addQueryFlags@{addQueryFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{addQueryFlags()}{addQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::add\+Query\+Flags (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



As set\+Query\+Flags, except the flags passed as parameters are appended to the existing flags on this object. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ae7612bb654507fd6f0e148adca85aa41}\label{class_ogre_1_1_terrain_global_options_ae7612bb654507fd6f0e148adca85aa41}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!removeQueryFlags@{removeQueryFlags}}
\index{removeQueryFlags@{removeQueryFlags}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{removeQueryFlags()}{removeQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::remove\+Query\+Flags (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a41a60bd9535039a3d29b07fdf4124b32}\label{class_ogre_1_1_terrain_global_options_a41a60bd9535039a3d29b07fdf4124b32}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getUseRayBoxDistanceCalculation@{getUseRayBoxDistanceCalculation}}
\index{getUseRayBoxDistanceCalculation@{getUseRayBoxDistanceCalculation}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getUseRayBoxDistanceCalculation()}{getUseRayBoxDistanceCalculation()}}
{\footnotesize\ttfamily bool Ogre\+::\+Terrain\+Global\+Options\+::get\+Use\+Ray\+Box\+Distance\+Calculation (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A\+A\+BB intersection) or whether to use the simpler distance from the tile centre. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a405c05d36af7a415b4aadf05492976de}\label{class_ogre_1_1_terrain_global_options_a405c05d36af7a415b4aadf05492976de}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setUseRayBoxDistanceCalculation@{setUseRayBoxDistanceCalculation}}
\index{setUseRayBoxDistanceCalculation@{setUseRayBoxDistanceCalculation}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setUseRayBoxDistanceCalculation()}{setUseRayBoxDistanceCalculation()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Use\+Ray\+Box\+Distance\+Calculation (\begin{DoxyParamCaption}\item[{bool}]{rb }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile, or whether to use the simple distance from the tile centre. 

Using ray/box intersection will result in higher detail terrain because the L\+OD calculation is more conservative, assuming the \textquotesingle{}worst case scenario\textquotesingle{} of a large height difference at the edge of a tile. This is guaranteed to give you at least the max pixel error or better, but will often give you more detail than you need. Not using the ray/box method is cheaper but will only use the max pixel error as a guide, the actual error will vary above and below that. The default is not to use the ray/box approach. \mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a01856a71b813370bc57839da50eb76c8}\label{class_ogre_1_1_terrain_global_options_a01856a71b813370bc57839da50eb76c8}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getDefaultMaterialGenerator@{getDefaultMaterialGenerator}}
\index{getDefaultMaterialGenerator@{getDefaultMaterialGenerator}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getDefaultMaterialGenerator()}{getDefaultMaterialGenerator()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Default\+Material\+Generator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get the default material generator. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ae4311ab0c8bf4a1014dc55471b7084d1}\label{class_ogre_1_1_terrain_global_options_ae4311ab0c8bf4a1014dc55471b7084d1}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setDefaultMaterialGenerator@{setDefaultMaterialGenerator}}
\index{setDefaultMaterialGenerator@{setDefaultMaterialGenerator}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setDefaultMaterialGenerator()}{setDefaultMaterialGenerator()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Material\+Generator (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr}}}]{gen }\end{DoxyParamCaption})}



Set the default material generator. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_abaaf803e7181e4151ae053f8f3b1ca54}\label{class_ogre_1_1_terrain_global_options_abaaf803e7181e4151ae053f8f3b1ca54}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getLayerBlendMapSize@{getLayerBlendMapSize}}
\index{getLayerBlendMapSize@{getLayerBlendMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getLayerBlendMapSize()}{getLayerBlendMapSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Layer\+Blend\+Map\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default size of the blend maps for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a629f5b31ac27bc8b19d0dcf9ddc9bc9f}\label{class_ogre_1_1_terrain_global_options_a629f5b31ac27bc8b19d0dcf9ddc9bc9f}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setLayerBlendMapSize@{setLayerBlendMapSize}}
\index{setLayerBlendMapSize@{setLayerBlendMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setLayerBlendMapSize()}{setLayerBlendMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Layer\+Blend\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the default size of blend maps for a new terrain. 

This is the resolution of each blending layer for a new terrain. Once created, this information will be stored with the terrain. \mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a0da4e02bc802061f23c2756117e7f9a6}\label{class_ogre_1_1_terrain_global_options_a0da4e02bc802061f23c2756117e7f9a6}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getDefaultLayerTextureWorldSize@{getDefaultLayerTextureWorldSize}}
\index{getDefaultLayerTextureWorldSize@{getDefaultLayerTextureWorldSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getDefaultLayerTextureWorldSize()}{getDefaultLayerTextureWorldSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Default\+Layer\+Texture\+World\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default world size for a layer \textquotesingle{}splat\textquotesingle{} texture to cover. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a6ee9f93b4bdb72f8de6562192db22dad}\label{class_ogre_1_1_terrain_global_options_a6ee9f93b4bdb72f8de6562192db22dad}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setDefaultLayerTextureWorldSize@{setDefaultLayerTextureWorldSize}}
\index{setDefaultLayerTextureWorldSize@{setDefaultLayerTextureWorldSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setDefaultLayerTextureWorldSize()}{setDefaultLayerTextureWorldSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Layer\+Texture\+World\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the default world size for a layer \textquotesingle{}splat\textquotesingle{} texture to cover. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a8ec03f22751bf4b7bf0baa24cf271799}\label{class_ogre_1_1_terrain_global_options_a8ec03f22751bf4b7bf0baa24cf271799}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getDefaultGlobalColourMapSize@{getDefaultGlobalColourMapSize}}
\index{getDefaultGlobalColourMapSize@{getDefaultGlobalColourMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getDefaultGlobalColourMapSize()}{getDefaultGlobalColourMapSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Default\+Global\+Colour\+Map\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default size of the terrain global colour map for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a67dd1f4bf48968238e845e2939d744a0}\label{class_ogre_1_1_terrain_global_options_a67dd1f4bf48968238e845e2939d744a0}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setDefaultGlobalColourMapSize@{setDefaultGlobalColourMapSize}}
\index{setDefaultGlobalColourMapSize@{setDefaultGlobalColourMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setDefaultGlobalColourMapSize()}{setDefaultGlobalColourMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Global\+Colour\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the default size of the terrain global colour map for a new terrain. 

Once created, this information will be stored with the terrain. \mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a51e4e14773bb9a73d7cbfcc8c0f16bd5}\label{class_ogre_1_1_terrain_global_options_a51e4e14773bb9a73d7cbfcc8c0f16bd5}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getLightMapSize@{getLightMapSize}}
\index{getLightMapSize@{getLightMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getLightMapSize()}{getLightMapSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Light\+Map\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default size of the lightmaps for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a62aaf2d6a7c072adadbacc3c517351f9}\label{class_ogre_1_1_terrain_global_options_a62aaf2d6a7c072adadbacc3c517351f9}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setLightMapSize@{setLightMapSize}}
\index{setLightMapSize@{setLightMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setLightMapSize()}{setLightMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Light\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the default size of lightmaps for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a7a212edf66436826fbc090d69cb88766}\label{class_ogre_1_1_terrain_global_options_a7a212edf66436826fbc090d69cb88766}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getCompositeMapSize@{getCompositeMapSize}}
\index{getCompositeMapSize@{getCompositeMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getCompositeMapSize()}{getCompositeMapSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} Ogre\+::\+Terrain\+Global\+Options\+::get\+Composite\+Map\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default size of the composite maps for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a0d449a2ed56acd7959eb5fc7d894025c}\label{class_ogre_1_1_terrain_global_options_a0d449a2ed56acd7959eb5fc7d894025c}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setCompositeMapSize@{setCompositeMapSize}}
\index{setCompositeMapSize@{setCompositeMapSize}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setCompositeMapSize()}{setCompositeMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Sets the default size of composite maps for a new terrain. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a0aeba371e3e83537d3269e0da4a476b9}\label{class_ogre_1_1_terrain_global_options_a0aeba371e3e83537d3269e0da4a476b9}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setDefaultResourceGroup@{setDefaultResourceGroup}}
\index{setDefaultResourceGroup@{setDefaultResourceGroup}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setDefaultResourceGroup()}{setDefaultResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{grp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the default resource group to use to load / save terrains. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ab05a9626133265f3f64750ab64208582}\label{class_ogre_1_1_terrain_global_options_ab05a9626133265f3f64750ab64208582}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getDefaultResourceGroup@{getDefaultResourceGroup}}
\index{getDefaultResourceGroup@{getDefaultResourceGroup}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getDefaultResourceGroup()}{getDefaultResourceGroup()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Terrain\+Global\+Options\+::get\+Default\+Resource\+Group (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the default resource group to use to load / save terrains. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a838b9b89f364717e59d89eeb59f789b2}\label{class_ogre_1_1_terrain_global_options_a838b9b89f364717e59d89eeb59f789b2}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getUseVertexCompressionWhenAvailable@{getUseVertexCompressionWhenAvailable}}
\index{getUseVertexCompressionWhenAvailable@{getUseVertexCompressionWhenAvailable}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getUseVertexCompressionWhenAvailable()}{getUseVertexCompressionWhenAvailable()}}
{\footnotesize\ttfamily bool Ogre\+::\+Terrain\+Global\+Options\+::get\+Use\+Vertex\+Compression\+When\+Available (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get whether to allow vertex compression to be used when the material generator states that it supports it. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a099ad9ade850e0b6d3146989441c52bc}\label{class_ogre_1_1_terrain_global_options_a099ad9ade850e0b6d3146989441c52bc}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!setUseVertexCompressionWhenAvailable@{setUseVertexCompressionWhenAvailable}}
\index{setUseVertexCompressionWhenAvailable@{setUseVertexCompressionWhenAvailable}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{setUseVertexCompressionWhenAvailable()}{setUseVertexCompressionWhenAvailable()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Use\+Vertex\+Compression\+When\+Available (\begin{DoxyParamCaption}\item[{bool}]{enable }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set whether to allow vertex compression to be used when the material generator states that it supports it. 

\begin{DoxyNote}{Note}
You should only call this before creating any terrain instances. The default is true, so if a material generator supports compressed vertices, and so does the hardware (this basically means shader support), they will be used). However you can disable this in an emergency if required. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_ac1c2d87bb764edfd517ebb6047df358e}\label{class_ogre_1_1_terrain_global_options_ac1c2d87bb764edfd517ebb6047df358e}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options}}\& Ogre\+::\+Terrain\+Global\+Options\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a90d18ba554df4386d9041bf3d57d9772}\label{class_ogre_1_1_terrain_global_options_a90d18ba554df4386d9041bf3d57d9772}} 
\index{Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::TerrainGlobalOptions@{Ogre::TerrainGlobalOptions}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options}}$\ast$ Ogre\+::\+Terrain\+Global\+Options\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_terrain_8h}{Ogre\+Terrain.\+h}}\end{DoxyCompactItemize}
