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


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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}{Terrain\+Global\+Options} ()
\item 
\hyperlink{class_ogre_1_1_terrain_global_options_a2926f893a8ba2a09064aad63c3bf4472}{$\sim$\+Terrain\+Global\+Options} ()
\item 
void \hyperlink{class_ogre_1_1_terrain_global_options_aaccc644a84e01e88954086048502a7e1}{add\+Query\+Flags} (\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 \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 \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \& \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 \hyperlink{class_ogre_1_1_colour_value}{Colour\+Value} \& \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \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 
\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr} \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 \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \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 
\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \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 \hyperlink{class_ogre_1_1_vector3}{Vector3} \& \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 
\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \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 
\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 \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 \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 
\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \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 \hyperlink{class_ogre_1_1_terrain_global_options_ae7612bb654507fd6f0e148adca85aa41}{remove\+Query\+Flags} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} flags)
\item 
void \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 \hyperlink{class_ogre_1_1_terrain_global_options_a0db83e224e43b4b2139d98d7682fd537}{set\+Composite\+Map\+Ambient} (const \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 \hyperlink{class_ogre_1_1_terrain_global_options_a39b7fdcd9e04c019bf99409ef55d855a}{set\+Composite\+Map\+Diffuse} (const \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 \hyperlink{class_ogre_1_1_terrain_global_options_aa80e448823ce5fff95245461f87d9927}{set\+Composite\+Map\+Distance} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a0d449a2ed56acd7959eb5fc7d894025c}{set\+Composite\+Map\+Size} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a67dd1f4bf48968238e845e2939d744a0}{set\+Default\+Global\+Colour\+Map\+Size} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a6ee9f93b4bdb72f8de6562192db22dad}{set\+Default\+Layer\+Texture\+World\+Size} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_ae4311ab0c8bf4a1014dc55471b7084d1}{set\+Default\+Material\+Generator} (\hyperlink{group___terrain_ga152d33cadca984511f2c0459562c7b0b}{Terrain\+Material\+Generator\+Ptr} gen)
\begin{DoxyCompactList}\small\item\em Set the default material generator. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_terrain_global_options_a0aeba371e3e83537d3269e0da4a476b9}{set\+Default\+Resource\+Group} (const \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 \hyperlink{class_ogre_1_1_terrain_global_options_a629f5b31ac27bc8b19d0dcf9ddc9bc9f}{set\+Layer\+Blend\+Map\+Size} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a4f2c45cf37eb725be27e96b39383b622}{set\+Light\+Map\+Direction} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&v)
\begin{DoxyCompactList}\small\item\em Set the shadow map light direction to use (world space). \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_terrain_global_options_a62aaf2d6a7c072adadbacc3c517351f9}{set\+Light\+Map\+Size} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a17a76921b32eaa417b109a811f2c4c81}{set\+Max\+Pixel\+Error} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a7194f2b178f46f69211d630d081624a7}{set\+Query\+Flags} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} flags)
\begin{DoxyCompactList}\small\item\em Set the default query flags for terrains. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_terrain_global_options_ae2c546b4465ef1e321f2cbc1895c4227}{set\+Render\+Queue\+Group} (\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 \hyperlink{class_ogre_1_1_terrain_global_options_a1edb0e8e24ef3f8d7ef698b88eb97613}{set\+Skirt\+Size} (\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 \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 \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 \hyperlink{class_ogre_1_1_terrain_global_options_a8b7b87457f57b14e1dce2d023a0229d8}{set\+Visibility\+Flags} (\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}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options} \& \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 \hyperlink{class_ogre_1_1_terrain_global_options}{Terrain\+Global\+Options} $\ast$ \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}


\subsection{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}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}\label{class_ogre_1_1_terrain_global_options_abdea5490ca3e3150e1cc90f08ad0c5e5}} 
\index{Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!Terrain\+Global\+Options@{Terrain\+Global\+Options}}
\index{Terrain\+Global\+Options@{Terrain\+Global\+Options}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{Terrain\+Global\+Options()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!````~Terrain\+Global\+Options@{$\sim$\+Terrain\+Global\+Options}}
\index{````~Terrain\+Global\+Options@{$\sim$\+Terrain\+Global\+Options}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{$\sim$\+Terrain\+Global\+Options()}{~TerrainGlobalOptions()}}
{\footnotesize\ttfamily Ogre\+::\+Terrain\+Global\+Options\+::$\sim$\+Terrain\+Global\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_global_options_a49aa0d4d209532421cf6339d0b0a859a}\label{class_ogre_1_1_terrain_global_options_a49aa0d4d209532421cf6339d0b0a859a}} 
\index{Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Skirt\+Size@{get\+Skirt\+Size}}
\index{get\+Skirt\+Size@{get\+Skirt\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Skirt\+Size()}{getSkirtSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Skirt\+Size@{set\+Skirt\+Size}}
\index{set\+Skirt\+Size@{set\+Skirt\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Skirt\+Size()}{setSkirtSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Skirt\+Size (\begin{DoxyParamCaption}\item[{\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 \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Light\+Map\+Direction@{get\+Light\+Map\+Direction}}
\index{get\+Light\+Map\+Direction@{get\+Light\+Map\+Direction}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Light\+Map\+Direction()}{getLightMapDirection()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector3}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Light\+Map\+Direction@{set\+Light\+Map\+Direction}}
\index{set\+Light\+Map\+Direction@{set\+Light\+Map\+Direction}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Light\+Map\+Direction()}{setLightMapDirection()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Light\+Map\+Direction (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Composite\+Map\+Ambient@{get\+Composite\+Map\+Ambient}}
\index{get\+Composite\+Map\+Ambient@{get\+Composite\+Map\+Ambient}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Composite\+Map\+Ambient()}{getCompositeMapAmbient()}}
{\footnotesize\ttfamily const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Composite\+Map\+Ambient@{set\+Composite\+Map\+Ambient}}
\index{set\+Composite\+Map\+Ambient@{set\+Composite\+Map\+Ambient}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Composite\+Map\+Ambient()}{setCompositeMapAmbient()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Ambient (\begin{DoxyParamCaption}\item[{const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Composite\+Map\+Diffuse@{get\+Composite\+Map\+Diffuse}}
\index{get\+Composite\+Map\+Diffuse@{get\+Composite\+Map\+Diffuse}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Composite\+Map\+Diffuse()}{getCompositeMapDiffuse()}}
{\footnotesize\ttfamily const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Composite\+Map\+Diffuse@{set\+Composite\+Map\+Diffuse}}
\index{set\+Composite\+Map\+Diffuse@{set\+Composite\+Map\+Diffuse}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Composite\+Map\+Diffuse()}{setCompositeMapDiffuse()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Diffuse (\begin{DoxyParamCaption}\item[{const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Composite\+Map\+Distance@{get\+Composite\+Map\+Distance}}
\index{get\+Composite\+Map\+Distance@{get\+Composite\+Map\+Distance}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Composite\+Map\+Distance()}{getCompositeMapDistance()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Composite\+Map\+Distance@{set\+Composite\+Map\+Distance}}
\index{set\+Composite\+Map\+Distance@{set\+Composite\+Map\+Distance}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Composite\+Map\+Distance()}{setCompositeMapDistance()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Distance (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Casts\+Dynamic\+Shadows@{get\+Casts\+Dynamic\+Shadows}}
\index{get\+Casts\+Dynamic\+Shadows@{get\+Casts\+Dynamic\+Shadows}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Casts\+Dynamic\+Shadows()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Casts\+Dynamic\+Shadows@{set\+Casts\+Dynamic\+Shadows}}
\index{set\+Casts\+Dynamic\+Shadows@{set\+Casts\+Dynamic\+Shadows}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Casts\+Dynamic\+Shadows()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Max\+Pixel\+Error@{get\+Max\+Pixel\+Error}}
\index{get\+Max\+Pixel\+Error@{get\+Max\+Pixel\+Error}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Max\+Pixel\+Error()}{getMaxPixelError()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Max\+Pixel\+Error@{set\+Max\+Pixel\+Error}}
\index{set\+Max\+Pixel\+Error@{set\+Max\+Pixel\+Error}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Max\+Pixel\+Error()}{setMaxPixelError()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Max\+Pixel\+Error (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Render\+Queue\+Group@{get\+Render\+Queue\+Group}}
\index{get\+Render\+Queue\+Group@{get\+Render\+Queue\+Group}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Render\+Queue\+Group()}{getRenderQueueGroup()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Render\+Queue\+Group@{set\+Render\+Queue\+Group}}
\index{set\+Render\+Queue\+Group@{set\+Render\+Queue\+Group}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Render\+Queue\+Group()}{setRenderQueueGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Render\+Queue\+Group (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Visibility\+Flags@{get\+Visibility\+Flags}}
\index{get\+Visibility\+Flags@{get\+Visibility\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Visibility\+Flags()}{getVisibilityFlags()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Visibility\+Flags@{set\+Visibility\+Flags}}
\index{set\+Visibility\+Flags@{set\+Visibility\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Visibility\+Flags()}{setVisibilityFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Visibility\+Flags (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Query\+Flags@{set\+Query\+Flags}}
\index{set\+Query\+Flags@{set\+Query\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Query\+Flags()}{setQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Query\+Flags (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Query\+Flags@{get\+Query\+Flags}}
\index{get\+Query\+Flags@{get\+Query\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Query\+Flags()}{getQueryFlags()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!add\+Query\+Flags@{add\+Query\+Flags}}
\index{add\+Query\+Flags@{add\+Query\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{add\+Query\+Flags()}{addQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::add\+Query\+Flags (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!remove\+Query\+Flags@{remove\+Query\+Flags}}
\index{remove\+Query\+Flags@{remove\+Query\+Flags}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{remove\+Query\+Flags()}{removeQueryFlags()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::remove\+Query\+Flags (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Use\+Ray\+Box\+Distance\+Calculation@{get\+Use\+Ray\+Box\+Distance\+Calculation}}
\index{get\+Use\+Ray\+Box\+Distance\+Calculation@{get\+Use\+Ray\+Box\+Distance\+Calculation}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Use\+Ray\+Box\+Distance\+Calculation()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Use\+Ray\+Box\+Distance\+Calculation@{set\+Use\+Ray\+Box\+Distance\+Calculation}}
\index{set\+Use\+Ray\+Box\+Distance\+Calculation@{set\+Use\+Ray\+Box\+Distance\+Calculation}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Use\+Ray\+Box\+Distance\+Calculation()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Default\+Material\+Generator@{get\+Default\+Material\+Generator}}
\index{get\+Default\+Material\+Generator@{get\+Default\+Material\+Generator}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Default\+Material\+Generator()}{getDefaultMaterialGenerator()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Default\+Material\+Generator@{set\+Default\+Material\+Generator}}
\index{set\+Default\+Material\+Generator@{set\+Default\+Material\+Generator}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Default\+Material\+Generator()}{setDefaultMaterialGenerator()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Material\+Generator (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Layer\+Blend\+Map\+Size@{get\+Layer\+Blend\+Map\+Size}}
\index{get\+Layer\+Blend\+Map\+Size@{get\+Layer\+Blend\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Layer\+Blend\+Map\+Size()}{getLayerBlendMapSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Layer\+Blend\+Map\+Size@{set\+Layer\+Blend\+Map\+Size}}
\index{set\+Layer\+Blend\+Map\+Size@{set\+Layer\+Blend\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Layer\+Blend\+Map\+Size()}{setLayerBlendMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Layer\+Blend\+Map\+Size (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Default\+Layer\+Texture\+World\+Size@{get\+Default\+Layer\+Texture\+World\+Size}}
\index{get\+Default\+Layer\+Texture\+World\+Size@{get\+Default\+Layer\+Texture\+World\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Default\+Layer\+Texture\+World\+Size()}{getDefaultLayerTextureWorldSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Default\+Layer\+Texture\+World\+Size@{set\+Default\+Layer\+Texture\+World\+Size}}
\index{set\+Default\+Layer\+Texture\+World\+Size@{set\+Default\+Layer\+Texture\+World\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Default\+Layer\+Texture\+World\+Size()}{setDefaultLayerTextureWorldSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Layer\+Texture\+World\+Size (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Default\+Global\+Colour\+Map\+Size@{get\+Default\+Global\+Colour\+Map\+Size}}
\index{get\+Default\+Global\+Colour\+Map\+Size@{get\+Default\+Global\+Colour\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Default\+Global\+Colour\+Map\+Size()}{getDefaultGlobalColourMapSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Default\+Global\+Colour\+Map\+Size@{set\+Default\+Global\+Colour\+Map\+Size}}
\index{set\+Default\+Global\+Colour\+Map\+Size@{set\+Default\+Global\+Colour\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Default\+Global\+Colour\+Map\+Size()}{setDefaultGlobalColourMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Global\+Colour\+Map\+Size (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Light\+Map\+Size@{get\+Light\+Map\+Size}}
\index{get\+Light\+Map\+Size@{get\+Light\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Light\+Map\+Size()}{getLightMapSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Light\+Map\+Size@{set\+Light\+Map\+Size}}
\index{set\+Light\+Map\+Size@{set\+Light\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Light\+Map\+Size()}{setLightMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Light\+Map\+Size (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Composite\+Map\+Size@{get\+Composite\+Map\+Size}}
\index{get\+Composite\+Map\+Size@{get\+Composite\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Composite\+Map\+Size()}{getCompositeMapSize()}}
{\footnotesize\ttfamily \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Composite\+Map\+Size@{set\+Composite\+Map\+Size}}
\index{set\+Composite\+Map\+Size@{set\+Composite\+Map\+Size}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Composite\+Map\+Size()}{setCompositeMapSize()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Composite\+Map\+Size (\begin{DoxyParamCaption}\item[{\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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Default\+Resource\+Group@{set\+Default\+Resource\+Group}}
\index{set\+Default\+Resource\+Group@{set\+Default\+Resource\+Group}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Default\+Resource\+Group()}{setDefaultResourceGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Terrain\+Global\+Options\+::set\+Default\+Resource\+Group (\begin{DoxyParamCaption}\item[{const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Default\+Resource\+Group@{get\+Default\+Resource\+Group}}
\index{get\+Default\+Resource\+Group@{get\+Default\+Resource\+Group}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Default\+Resource\+Group()}{getDefaultResourceGroup()}}
{\footnotesize\ttfamily const \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Use\+Vertex\+Compression\+When\+Available@{get\+Use\+Vertex\+Compression\+When\+Available}}
\index{get\+Use\+Vertex\+Compression\+When\+Available@{get\+Use\+Vertex\+Compression\+When\+Available}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Use\+Vertex\+Compression\+When\+Available()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!set\+Use\+Vertex\+Compression\+When\+Available@{set\+Use\+Vertex\+Compression\+When\+Available}}
\index{set\+Use\+Vertex\+Compression\+When\+Available@{set\+Use\+Vertex\+Compression\+When\+Available}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{set\+Use\+Vertex\+Compression\+When\+Available()}{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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Singleton@{get\+Singleton}}
\index{get\+Singleton@{get\+Singleton}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Singleton()}{getSingleton()}}
{\footnotesize\ttfamily static \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\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}!get\+Singleton\+Ptr@{get\+Singleton\+Ptr}}
\index{get\+Singleton\+Ptr@{get\+Singleton\+Ptr}!Ogre\+::\+Terrain\+Global\+Options@{Ogre\+::\+Terrain\+Global\+Options}}
\subsubsection{\texorpdfstring{get\+Singleton\+Ptr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \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 
\hyperlink{_ogre_terrain_8h}{Ogre\+Terrain.\+h}\end{DoxyCompactItemize}
