Files
Bomberman/classBBM_1_1AlphaVarShaderComponent.html
2021-06-26 11:31:13 +00:00

435 lines
28 KiB
HTML

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bomberman: BBM::AlphaVarShaderComponent Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Bomberman
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceBBM.html">BBM</a></li><li class="navelem"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classBBM_1_1AlphaVarShaderComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BBM::AlphaVarShaderComponent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="AlphaCtxShaderComponent_8hpp_source.html">AlphaCtxShaderComponent.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BBM::AlphaVarShaderComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1AlphaVarShaderComponent__inherit__graph.svg" width="250" height="448"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<div class="dynheader">
Collaboration diagram for BBM::AlphaVarShaderComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1AlphaVarShaderComponent__coll__graph.svg" width="250" height="1258"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3ad8de6942cae3d91ac0f598cf170495"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html">WAL::Component</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a3ad8de6942cae3d91ac0f598cf170495">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) const override</td></tr>
<tr class="memdesc:a3ad8de6942cae3d91ac0f598cf170495"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1AlphaVarShaderComponent.html#a3ad8de6942cae3d91ac0f598cf170495">More...</a><br /></td></tr>
<tr class="separator:a3ad8de6942cae3d91ac0f598cf170495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40f3863c25c8fc5e596283feb6ebfcd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a40f3863c25c8fc5e596283feb6ebfcd8">AlphaVarShaderComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity)</td></tr>
<tr class="memdesc:a40f3863c25c8fc5e596283feb6ebfcd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ctor <a href="classBBM_1_1AlphaVarShaderComponent.html#a40f3863c25c8fc5e596283feb6ebfcd8">More...</a><br /></td></tr>
<tr class="separator:a40f3863c25c8fc5e596283feb6ebfcd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59f7d193acebebfb3282430bb4dba7ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a59f7d193acebebfb3282430bb4dba7ac">AlphaVarShaderComponent</a> (const <a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a> &amp;)=default</td></tr>
<tr class="memdesc:a59f7d193acebebfb3282430bb4dba7ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy ctor. <a href="classBBM_1_1AlphaVarShaderComponent.html#a59f7d193acebebfb3282430bb4dba7ac">More...</a><br /></td></tr>
<tr class="separator:a59f7d193acebebfb3282430bb4dba7ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94d2cd711c126d1c622de86bb4a423f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a94d2cd711c126d1c622de86bb4a423f4">~AlphaVarShaderComponent</a> () override=default</td></tr>
<tr class="memdesc:a94d2cd711c126d1c622de86bb4a423f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default dtor. <a href="classBBM_1_1AlphaVarShaderComponent.html#a94d2cd711c126d1c622de86bb4a423f4">More...</a><br /></td></tr>
<tr class="separator:a94d2cd711c126d1c622de86bb4a423f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a769d713b8189a74621bc73718945ecc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a769d713b8189a74621bc73718945ecc4">operator=</a> (const <a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a> &amp;)=delete</td></tr>
<tr class="memdesc:a769d713b8189a74621bc73718945ecc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator. <a href="classBBM_1_1AlphaVarShaderComponent.html#a769d713b8189a74621bc73718945ecc4">More...</a><br /></td></tr>
<tr class="separator:a769d713b8189a74621bc73718945ecc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classWAL_1_1Component')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
<tr class="memitem:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html">Component</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a155fb97f22714a0f489af7442d7d3253">operator=</a> (const <a class="el" href="classWAL_1_1Component.html">Component</a> &amp;)=delete</td></tr>
<tr class="memdesc:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">A component can't be assigned. <a href="classWAL_1_1Component.html#a155fb97f22714a0f489af7442d7d3253">More...</a><br /></td></tr>
<tr class="separator:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3d8e13fdc53a63b0b1f8d15576f98cf8">~Component</a> ()=default</td></tr>
<tr class="memdesc:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">A virtual destructor. <a href="classWAL_1_1Component.html#a3d8e13fdc53a63b0b1f8d15576f98cf8">More...</a><br /></td></tr>
<tr class="separator:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">onStart</a> ()</td></tr>
<tr class="memdesc:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity or this component has just been enabled. <a href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">More...</a><br /></td></tr>
<tr class="separator:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a0f3f4fe54fd06de1e685835977fef050">onStop</a> ()</td></tr>
<tr class="memdesc:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity or this component has just been disable. <a href="classWAL_1_1Component.html#a0f3f4fe54fd06de1e685835977fef050">More...</a><br /></td></tr>
<tr class="separator:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6abb850244ab3b80cd65320f7f35763a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a6abb850244ab3b80cd65320f7f35763a">alpha</a> = 1</td></tr>
<tr class="memdesc:a6abb850244ab3b80cd65320f7f35763a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transparency. <a href="classBBM_1_1AlphaVarShaderComponent.html#a6abb850244ab3b80cd65320f7f35763a">More...</a><br /></td></tr>
<tr class="separator:a6abb850244ab3b80cd65320f7f35763a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7964a2b8302b098052a0fdcec3b59dd"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#af7964a2b8302b098052a0fdcec3b59dd">minAlpha</a> = 0.2</td></tr>
<tr class="memdesc:af7964a2b8302b098052a0fdcec3b59dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">minimum transparency <a href="classBBM_1_1AlphaVarShaderComponent.html#af7964a2b8302b098052a0fdcec3b59dd">More...</a><br /></td></tr>
<tr class="separator:af7964a2b8302b098052a0fdcec3b59dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a219088134e57ce88d6de8c989ad7e808"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a219088134e57ce88d6de8c989ad7e808">maxAlpha</a> = 1</td></tr>
<tr class="memdesc:a219088134e57ce88d6de8c989ad7e808"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum transparency <a href="classBBM_1_1AlphaVarShaderComponent.html#a219088134e57ce88d6de8c989ad7e808">More...</a><br /></td></tr>
<tr class="separator:a219088134e57ce88d6de8c989ad7e808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ab3d32459b28a098a27ed45640ff1b8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a7ab3d32459b28a098a27ed45640ff1b8">initalStepValue</a> = 0.04</td></tr>
<tr class="memdesc:a7ab3d32459b28a098a27ed45640ff1b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">inital step value <a href="classBBM_1_1AlphaVarShaderComponent.html#a7ab3d32459b28a098a27ed45640ff1b8">More...</a><br /></td></tr>
<tr class="separator:a7ab3d32459b28a098a27ed45640ff1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b7e46fb8a76fafc1702353a5c4cebb7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a9b7e46fb8a76fafc1702353a5c4cebb7">step</a> = 0.04</td></tr>
<tr class="memdesc:a9b7e46fb8a76fafc1702353a5c4cebb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">how fast the alpha will vary <a href="classBBM_1_1AlphaVarShaderComponent.html#a9b7e46fb8a76fafc1702353a5c4cebb7">More...</a><br /></td></tr>
<tr class="separator:a9b7e46fb8a76fafc1702353a5c4cebb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a726d97de6acc6376afca371a9f56e2"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#a4a726d97de6acc6376afca371a9f56e2">balance</a> = -1</td></tr>
<tr class="memdesc:a4a726d97de6acc6376afca371a9f56e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">if the alpha should increase or decrease <a href="classBBM_1_1AlphaVarShaderComponent.html#a4a726d97de6acc6376afca371a9f56e2">More...</a><br /></td></tr>
<tr class="separator:a4a726d97de6acc6376afca371a9f56e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c55fd3967b19fbdbd325c385131cec"><td class="memItemLeft" align="right" valign="top">std::chrono::nanoseconds&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html#ab2c55fd3967b19fbdbd325c385131cec">clock</a> = 0ns</td></tr>
<tr class="memdesc:ab2c55fd3967b19fbdbd325c385131cec"><td class="mdescLeft">&#160;</td><td class="mdescRight">The clock to use. <a href="classBBM_1_1AlphaVarShaderComponent.html#ab2c55fd3967b19fbdbd325c385131cec">More...</a><br /></td></tr>
<tr class="separator:ab2c55fd3967b19fbdbd325c385131cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classWAL_1_1Component')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
<tr class="memitem:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">Component</a> (<a class="el" href="classWAL_1_1Entity.html">Entity</a> &amp;entity)</td></tr>
<tr class="memdesc:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">A component can't be instantiated, it should be derived. <a href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">More...</a><br /></td></tr>
<tr class="separator:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3a3306df3733bfa77c70d789b650984b">Component</a> (const <a class="el" href="classWAL_1_1Component.html">Component</a> &amp;)=default</td></tr>
<tr class="memdesc:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">A component can't be instantiated, it should be derived. <a href="classWAL_1_1Component.html#a3a3306df3733bfa77c70d789b650984b">More...</a><br /></td></tr>
<tr class="separator:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classWAL_1_1Component')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
<tr class="memitem:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Entity.html">Entity</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3841f7c8cc4eeb9d1e97b3182976d89f">_entity</a></td></tr>
<tr class="memdesc:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity that own this component. <a href="classWAL_1_1Component.html#a3841f7c8cc4eeb9d1e97b3182976d89f">More...</a><br /></td></tr>
<tr class="separator:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a40f3863c25c8fc5e596283feb6ebfcd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40f3863c25c8fc5e596283feb6ebfcd8">&#9670;&nbsp;</a></span>AlphaVarShaderComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::AlphaVarShaderComponent::AlphaVarShaderComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td>
<td class="paramname"><em>entity</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>ctor </p>
</div>
</div>
<a id="a59f7d193acebebfb3282430bb4dba7ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59f7d193acebebfb3282430bb4dba7ac">&#9670;&nbsp;</a></span>AlphaVarShaderComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::AlphaVarShaderComponent::AlphaVarShaderComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default copy ctor. </p>
</div>
</div>
<a id="a94d2cd711c126d1c622de86bb4a423f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94d2cd711c126d1c622de86bb4a423f4">&#9670;&nbsp;</a></span>~AlphaVarShaderComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::AlphaVarShaderComponent::~AlphaVarShaderComponent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default dtor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3ad8de6942cae3d91ac0f598cf170495"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ad8de6942cae3d91ac0f598cf170495">&#9670;&nbsp;</a></span>clone()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWAL_1_1Component.html">WAL::Component</a> * BBM::AlphaVarShaderComponent::clone </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td>
<td class="paramname"><em>entity</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Clone a component for another or the same entity. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">entity</td><td>The entity that owns the ne component. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classWAL_1_1Component.html#a0bbee4f657e10fd190a28d15afe63e93">WAL::Component</a>.</p>
</div>
</div>
<a id="a769d713b8189a74621bc73718945ecc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a769d713b8189a74621bc73718945ecc4">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a>&amp; BBM::AlphaVarShaderComponent::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1AlphaVarShaderComponent.html">AlphaVarShaderComponent</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default assignment operator. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a6abb850244ab3b80cd65320f7f35763a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6abb850244ab3b80cd65320f7f35763a">&#9670;&nbsp;</a></span>alpha</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::alpha = 1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Transparency. </p>
</div>
</div>
<a id="a4a726d97de6acc6376afca371a9f56e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a726d97de6acc6376afca371a9f56e2">&#9670;&nbsp;</a></span>balance</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::balance = -1</td>
</tr>
</table>
</div><div class="memdoc">
<p>if the alpha should increase or decrease </p>
</div>
</div>
<a id="ab2c55fd3967b19fbdbd325c385131cec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2c55fd3967b19fbdbd325c385131cec">&#9670;&nbsp;</a></span>clock</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::chrono::nanoseconds BBM::AlphaVarShaderComponent::clock = 0ns</td>
</tr>
</table>
</div><div class="memdoc">
<p>The clock to use. </p>
</div>
</div>
<a id="a7ab3d32459b28a098a27ed45640ff1b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ab3d32459b28a098a27ed45640ff1b8">&#9670;&nbsp;</a></span>initalStepValue</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::initalStepValue = 0.04</td>
</tr>
</table>
</div><div class="memdoc">
<p>inital step value </p>
</div>
</div>
<a id="a219088134e57ce88d6de8c989ad7e808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a219088134e57ce88d6de8c989ad7e808">&#9670;&nbsp;</a></span>maxAlpha</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::maxAlpha = 1</td>
</tr>
</table>
</div><div class="memdoc">
<p>maximum transparency </p>
</div>
</div>
<a id="af7964a2b8302b098052a0fdcec3b59dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7964a2b8302b098052a0fdcec3b59dd">&#9670;&nbsp;</a></span>minAlpha</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::minAlpha = 0.2</td>
</tr>
</table>
</div><div class="memdoc">
<p>minimum transparency </p>
</div>
</div>
<a id="a9b7e46fb8a76fafc1702353a5c4cebb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b7e46fb8a76fafc1702353a5c4cebb7">&#9670;&nbsp;</a></span>step</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::AlphaVarShaderComponent::step = 0.04</td>
</tr>
</table>
</div><div class="memdoc">
<p>how fast the alpha will vary </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Component/Shaders/Items/<a class="el" href="AlphaCtxShaderComponent_8hpp_source.html">AlphaCtxShaderComponent.hpp</a></li>
<li>sources/Component/Shaders/Items/<a class="el" href="AlphaCtxShaderComponent_8cpp.html">AlphaCtxShaderComponent.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>