<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Zibra Effects: Assets/Plugins/Zibra/Smoke and Fire/Scripts/Solver/Manipulators/ZibraSmokeAndFireDetector.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js.txt"></script>
<script type="text/javascript" src="dynsections.js.txt"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js.txt"></script>
<script type="text/javascript" src="search/search.js.txt"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Zibra Effects
   </div>
   <div id="projectbrief">Real-time Simulated Visual Effects</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js.txt"></script>
<script type="text/javascript" src="menu.js.txt"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f5412708edd60def94041247c0b8603c.html">Assets</a></li><li class="navelem"><a class="el" href="dir_beed702047ef9680d64a7ee349fab51c.html">Plugins</a></li><li class="navelem"><a class="el" href="dir_4f506dc541fc7401bbbeb99f1cec82f2.html">Zibra</a></li><li class="navelem"><a class="el" href="dir_6260800d71610873009c61f02e22fc45.html">Smoke and Fire</a></li><li class="navelem"><a class="el" href="dir_7e40387fec42afec1b430a50221db81e.html">Scripts</a></li><li class="navelem"><a class="el" href="dir_8e2e99f52e3d4ea4889a7be2dc03c652.html">Solver</a></li><li class="navelem"><a class="el" href="dir_347ef168c207c93c5df8c65fc10df750.html">Manipulators</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ZibraSmokeAndFireDetector.cs</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="keyword">using </span>System;</div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="keyword">using </span>UnityEngine;</div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacecom_1_1zibra_1_1smoke__and__fire_1_1_manipulators.html">com.zibra.smoke_and_fire.Manipulators</a></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span>{</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>    [AddComponentMenu(<span class="stringliteral">&quot;Zibra Effects - Smoke &amp; Fire/Zibra Smoke &amp; Fire Detector&quot;</span>)]</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    [DisallowMultipleComponent]</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html">   14</a></span>    <span class="keyword">public</span> <span class="keyword">class </span><a class="code hl_class" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html">ZibraSmokeAndFireDetector</a> : <a class="code hl_class" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator.html">Manipulator</a></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    {</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#region Public Interface</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#aa61981c77a71f940114dd239647b84d2">   20</a></span>        <span class="keyword">public</span> <span class="keywordtype">float</span> <a class="code hl_property" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#aa61981c77a71f940114dd239647b84d2">DetectorVolume</a></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>        {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>            <span class="keyword">get</span> {</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>                <span class="keywordflow">return</span> transform.localScale.x * transform.localScale.y * transform.localScale.z;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>            }</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        }</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a0cc6337a69e8c76553e48455bf51b6d2">   27</a></span>        <span class="keyword">override</span> <span class="keyword">public</span> <a class="code hl_enumeration" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator.html#a57c404a5c07698ea543d2d900d60c282">ManipulatorType</a> <a class="code hl_function" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a0cc6337a69e8c76553e48455bf51b6d2">GetManipulatorType</a>()</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>        {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>            <span class="keywordflow">return</span> <a class="code hl_enumeration" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator.html#a57c404a5c07698ea543d2d900d60c282">ManipulatorType</a>.Detector;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        }</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>        [Tooltip(</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>            <span class="stringliteral">&quot;Selects light that will be used by this detector to pass light from simulation to the scene. Optional.&quot;</span>)]</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a1f38e0cbe9001c5f56dc0d7f92a3bcfa">   40</a></span>        <span class="keyword">public</span> Light <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a1f38e0cbe9001c5f56dc0d7f92a3bcfa">LightToControl</a>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>        [Tooltip(<span class="stringliteral">&quot;Scale of brightness set to the light. Does nothing if Light To Control is set to None.&quot;</span>)]</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>        [Range(0.0f, 10.0f)]</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#adee6f0d0fd37c9b37531820d64428319">   50</a></span>        <span class="keyword">public</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#adee6f0d0fd37c9b37531820d64428319">RelativeBrightness</a> = 1.0f;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>        [NonSerialized]</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a9cf3bd836c08d31e34244ea246741d25">   56</a></span>        <span class="keyword">public</span> Vector3 <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a9cf3bd836c08d31e34244ea246741d25">CurrentIllumination</a> = Vector3.zero;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>        [NonSerialized]</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">   62</a></span>        <span class="keyword">public</span> Vector3 <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">CurrentIlluminationCenter</a> = Vector3.zero;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        [NonSerialized]</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#ad89b8bf64c083eddf2d08423199d7414">   68</a></span>        <span class="keyword">public</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#ad89b8bf64c083eddf2d08423199d7414">CurrentFuelAmount</a> = 0;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>        [NonSerialized]</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a232bd4311a91abbf702985e8a6cde53b">   74</a></span>        <span class="keyword">public</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a232bd4311a91abbf702985e8a6cde53b">CurrentTemparature</a> = 0;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        [NonSerialized]</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a4e96f7259ae036ee18701f35c78f60a5">   80</a></span>        <span class="keyword">public</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a4e96f7259ae036ee18701f35c78f60a5">CurrentSmokeDensity</a> = 0;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="preprocessor">#endregion</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="preprocessor">#region Implementation details</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>        <span class="keyword">private</span> <span class="keywordtype">void</span> Update()</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>        {</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="preprocessor">#if UNITY_EDITOR</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>            <span class="keywordflow">if</span> (!UnityEditor.EditorApplication.isPlaying)</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>            {</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>                <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>            }</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>            <span class="keywordflow">if</span> (<a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a1f38e0cbe9001c5f56dc0d7f92a3bcfa">LightToControl</a> != <span class="keyword">null</span> &amp;&amp; <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a1f38e0cbe9001c5f56dc0d7f92a3bcfa">LightToControl</a>.type == LightType.Point)</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>            {</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>                Vector3 normalized = <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a9cf3bd836c08d31e34244ea246741d25">CurrentIllumination</a>.normalized;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>                <span class="keywordtype">float</span> lenght = <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a9cf3bd836c08d31e34244ea246741d25">CurrentIllumination</a>.magnitude;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>                Color color = <span class="keyword">new</span> Color(normalized.x, normalized.y, normalized.z);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>                LightToControl.color = color;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>                LightToControl.intensity = <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#adee6f0d0fd37c9b37531820d64428319">RelativeBrightness</a> * lenght;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>                Vector3 delta = <span class="keyword">new</span> Vector3(transform.transform.lossyScale.x * <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">CurrentIlluminationCenter</a>.x,</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>                                            transform.transform.lossyScale.y * <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">CurrentIlluminationCenter</a>.y,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>                                            transform.transform.lossyScale.z * <a class="code hl_variable" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">CurrentIlluminationCenter</a>.z);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>                LightToControl.transform.position = transform.position + 2.0f * delta;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>            }</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>        }</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="preprocessor">#if UNITY_EDITOR</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a3d39c8704dab2e95325799dba1a1b5d2">  109</a></span>        <span class="keyword">public</span> <span class="keyword">override</span> Color <a class="code hl_function" href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a3d39c8704dab2e95325799dba1a1b5d2">GetGizmosColor</a>()</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>        {</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>            <span class="keywordflow">return</span> Color.magenta;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>        }</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span><span class="preprocessor">#endregion</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    }</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>}</div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator_html"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator.html">com.zibra.smoke_and_fire.Manipulators.Manipulator</a></div><div class="ttdoc">Base class for fluid manipulator.</div><div class="ttdef"><b>Definition:</b> <a href="_smoke_01and_01_fire_2_scripts_2_solver_2_manipulator_8cs_source.html#l00068">Manipulator.cs:69</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator_html_a57c404a5c07698ea543d2d900d60c282"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_manipulator.html#a57c404a5c07698ea543d2d900d60c282">com.zibra.smoke_and_fire.Manipulators.Manipulator.ManipulatorType</a></div><div class="ttdeci">ManipulatorType</div><div class="ttdoc">Manipulator types.</div><div class="ttdef"><b>Definition:</b> <a href="_smoke_01and_01_fire_2_scripts_2_solver_2_manipulator_8cs_source.html#l00079">Manipulator.cs:80</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector</a></div><div class="ttdoc">Manipulator that reads various data from the simulation.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00014">ZibraSmokeAndFireDetector.cs:15</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a0cc6337a69e8c76553e48455bf51b6d2"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a0cc6337a69e8c76553e48455bf51b6d2">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.GetManipulatorType</a></div><div class="ttdeci">override ManipulatorType GetManipulatorType()</div><div class="ttdoc">Returns the manipulator type.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00027">ZibraSmokeAndFireDetector.cs:27</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a1f38e0cbe9001c5f56dc0d7f92a3bcfa"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a1f38e0cbe9001c5f56dc0d7f92a3bcfa">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.LightToControl</a></div><div class="ttdeci">Light LightToControl</div><div class="ttdoc">Selects light that will be used by this detector to pass light from simulation to the scene.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00040">ZibraSmokeAndFireDetector.cs:40</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a232bd4311a91abbf702985e8a6cde53b"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a232bd4311a91abbf702985e8a6cde53b">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.CurrentTemparature</a></div><div class="ttdeci">float CurrentTemparature</div><div class="ttdoc">Average amount of heat energy inside the detector.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00074">ZibraSmokeAndFireDetector.cs:74</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a265002223d18aad7317da06f3926fd58"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a265002223d18aad7317da06f3926fd58">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.CurrentIlluminationCenter</a></div><div class="ttdeci">Vector3 CurrentIlluminationCenter</div><div class="ttdoc">Center of illumination relative to detector volume.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00062">ZibraSmokeAndFireDetector.cs:62</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a3d39c8704dab2e95325799dba1a1b5d2"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a3d39c8704dab2e95325799dba1a1b5d2">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.GetGizmosColor</a></div><div class="ttdeci">override Color GetGizmosColor()</div><div class="ttdoc">(Editor only) Returns gizmo color that should be used with current manipulator.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00109">ZibraSmokeAndFireDetector.cs:109</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a4e96f7259ae036ee18701f35c78f60a5"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a4e96f7259ae036ee18701f35c78f60a5">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.CurrentSmokeDensity</a></div><div class="ttdeci">float CurrentSmokeDensity</div><div class="ttdoc">Average amount of smoke inside the detector.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00080">ZibraSmokeAndFireDetector.cs:80</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_a9cf3bd836c08d31e34244ea246741d25"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#a9cf3bd836c08d31e34244ea246741d25">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.CurrentIllumination</a></div><div class="ttdeci">Vector3 CurrentIllumination</div><div class="ttdoc">Average brightness inside the detector.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00056">ZibraSmokeAndFireDetector.cs:56</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_aa61981c77a71f940114dd239647b84d2"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#aa61981c77a71f940114dd239647b84d2">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.DetectorVolume</a></div><div class="ttdeci">float DetectorVolume</div><div class="ttdoc">Calculated volume of detector box</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00020">ZibraSmokeAndFireDetector.cs:21</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_ad89b8bf64c083eddf2d08423199d7414"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#ad89b8bf64c083eddf2d08423199d7414">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.CurrentFuelAmount</a></div><div class="ttdeci">float CurrentFuelAmount</div><div class="ttdoc">Average amount of fuel inside the detector.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00068">ZibraSmokeAndFireDetector.cs:68</a></div></div>
<div class="ttc" id="aclasscom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector_html_adee6f0d0fd37c9b37531820d64428319"><div class="ttname"><a href="classcom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_1_1_zibra_smoke_and_fire_detector.html#adee6f0d0fd37c9b37531820d64428319">com.zibra.smoke_and_fire.Manipulators.ZibraSmokeAndFireDetector.RelativeBrightness</a></div><div class="ttdeci">float RelativeBrightness</div><div class="ttdoc">Scale of brightness set to the light.</div><div class="ttdef"><b>Definition:</b> <a href="_zibra_smoke_and_fire_detector_8cs_source.html#l00050">ZibraSmokeAndFireDetector.cs:50</a></div></div>
<div class="ttc" id="anamespacecom_1_1zibra_1_1smoke__and__fire_1_1_manipulators_html"><div class="ttname"><a href="namespacecom_1_1zibra_1_1smoke__and__fire_1_1_manipulators.html">com.zibra.smoke_and_fire.Manipulators</a></div><div class="ttdoc">Namespace that contains smoke &amp; fire manipulator classes.</div><div class="ttdef"><b>Definition:</b> <a href="_namespace_documentation_8cs_source.html#l00135">NamespaceDocumentation.cs:136</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
