You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1395 lines
142 KiB
HTML
1395 lines
142 KiB
HTML
2 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.5"/>
|
||
|
<title>Otter: Otter.Surface 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="resize.js"></script>
|
||
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||
|
</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="projectlogo"><img alt="Logo" src="otterlogosmall.png"/></td>
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">Otter
|
||
|
 <span id="projectnumber">0.9.8.91</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">2d Game Development Framework based on SFML.Net</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.5 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Packages</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){initNavTree('class_otter_1_1_surface.html','');});
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Properties</a></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 class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-attribs">Public Attributes</a> |
|
||
|
<a href="#properties">Properties</a> |
|
||
|
<a href="class_otter_1_1_surface-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">Otter.Surface Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p><a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> that represents a render target. By default the game uses a master surface to render the game to the window. Be aware of graphics card limiations of render textures when creating surfaces.
|
||
|
<a href="class_otter_1_1_surface.html#details">More...</a></p>
|
||
|
|
||
|
<p>Inherits <a class="el" href="class_otter_1_1_image.html">Otter.Image</a>.</p>
|
||
|
<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:a2f2fdc86f67e04d10fdac0d0f9b2e349"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a2f2fdc86f67e04d10fdac0d0f9b2e349">SurfaceX</a> (float x)</td></tr>
|
||
|
<tr class="memdesc:a2f2fdc86f67e04d10fdac0d0f9b2e349"><td class="mdescLeft"> </td><td class="mdescRight">Convert an X position into the same position but on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. TODO: Make this work with scale and rotation. <a href="#a2f2fdc86f67e04d10fdac0d0f9b2e349">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a2f2fdc86f67e04d10fdac0d0f9b2e349"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ade854189147d218823871f731c7c71b3"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ade854189147d218823871f731c7c71b3">SurfaceY</a> (float y)</td></tr>
|
||
|
<tr class="memdesc:ade854189147d218823871f731c7c71b3"><td class="mdescLeft"> </td><td class="mdescRight">Convert a Y position into the same position but on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. TODO: Make this work with scale and rotation. <a href="#ade854189147d218823871f731c7c71b3">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ade854189147d218823871f731c7c71b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa1aaf48edfdfd8dd636aa5aed49b0a31"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#aa1aaf48edfdfd8dd636aa5aed49b0a31">Surface</a> (int width, int height, <a class="el" href="class_otter_1_1_color.html">Color</a> color=null)</td></tr>
|
||
|
<tr class="memdesc:aa1aaf48edfdfd8dd636aa5aed49b0a31"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> with a specified size. <a href="#aa1aaf48edfdfd8dd636aa5aed49b0a31">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aa1aaf48edfdfd8dd636aa5aed49b0a31"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4b1726ceaf1c19d998e43bee42695de5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a4b1726ceaf1c19d998e43bee42695de5">Surface</a> (int width, int height)</td></tr>
|
||
|
<tr class="memdesc:a4b1726ceaf1c19d998e43bee42695de5"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. <a href="#a4b1726ceaf1c19d998e43bee42695de5">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a4b1726ceaf1c19d998e43bee42695de5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acaaad7160f07b370c46b872ec447815a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#acaaad7160f07b370c46b872ec447815a">Surface</a> (int size)</td></tr>
|
||
|
<tr class="memdesc:acaaad7160f07b370c46b872ec447815a"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. <a href="#acaaad7160f07b370c46b872ec447815a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:acaaad7160f07b370c46b872ec447815a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7b3b93dafd642e5ec6a9b342af2290b3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a7b3b93dafd642e5ec6a9b342af2290b3">Surface</a> (int size, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:a7b3b93dafd642e5ec6a9b342af2290b3"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. <a href="#a7b3b93dafd642e5ec6a9b342af2290b3">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a7b3b93dafd642e5ec6a9b342af2290b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afb4417c74c4fa0bbd88ee7091caf430b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#afb4417c74c4fa0bbd88ee7091caf430b">AddShader</a> (<a class="el" href="class_otter_1_1_shader.html">Shader</a> shader)</td></tr>
|
||
|
<tr class="memdesc:afb4417c74c4fa0bbd88ee7091caf430b"><td class="mdescLeft"> </td><td class="mdescRight">Add a shader to be drawn on the surface. If "Shader" is set, the shader list is ignored. <a href="#afb4417c74c4fa0bbd88ee7091caf430b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:afb4417c74c4fa0bbd88ee7091caf430b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9f2bba13c2454c5131d4d3ebde5fbc2e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a9f2bba13c2454c5131d4d3ebde5fbc2e">RemoveShader</a> (<a class="el" href="class_otter_1_1_shader.html">Shader</a> shader)</td></tr>
|
||
|
<tr class="memdesc:a9f2bba13c2454c5131d4d3ebde5fbc2e"><td class="mdescLeft"> </td><td class="mdescRight">Remove a shader from the surface. <a href="#a9f2bba13c2454c5131d4d3ebde5fbc2e">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a9f2bba13c2454c5131d4d3ebde5fbc2e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a60a60c2b3f9ff53e2650d4339298b893"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_shader.html">Shader</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a60a60c2b3f9ff53e2650d4339298b893">PopShader</a> ()</td></tr>
|
||
|
<tr class="memdesc:a60a60c2b3f9ff53e2650d4339298b893"><td class="mdescLeft"> </td><td class="mdescRight">Remove the top most shader on the list of shaders. <a href="#a60a60c2b3f9ff53e2650d4339298b893">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a60a60c2b3f9ff53e2650d4339298b893"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6edee040c865cb2974d62532ef185709"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a6edee040c865cb2974d62532ef185709">Display</a> ()</td></tr>
|
||
|
<tr class="memdesc:a6edee040c865cb2974d62532ef185709"><td class="mdescLeft"> </td><td class="mdescRight">Calls the SFML Display function on the internal render texture. Should be used before any sort of rendering, otherwise the texture will be upside down! <a href="#a6edee040c865cb2974d62532ef185709">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a6edee040c865cb2974d62532ef185709"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab2e6b67aae8a429b10b0b5052bf7794b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ab2e6b67aae8a429b10b0b5052bf7794b">ClearShaders</a> ()</td></tr>
|
||
|
<tr class="memdesc:ab2e6b67aae8a429b10b0b5052bf7794b"><td class="mdescLeft"> </td><td class="mdescRight">Remove all shaders from the surface. <a href="#ab2e6b67aae8a429b10b0b5052bf7794b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ab2e6b67aae8a429b10b0b5052bf7794b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aaed30c7b1650cf6ac46321b0c86a0bfd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#aaed30c7b1650cf6ac46321b0c86a0bfd">SetShader</a> (<a class="el" href="class_otter_1_1_shader.html">Shader</a> shader)</td></tr>
|
||
|
<tr class="memdesc:aaed30c7b1650cf6ac46321b0c86a0bfd"><td class="mdescLeft"> </td><td class="mdescRight">Replace all shaders with a single shader. This will be ignored if "Shader" is set. <a href="#aaed30c7b1650cf6ac46321b0c86a0bfd">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aaed30c7b1650cf6ac46321b0c86a0bfd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa9e6f067d6d36474beb54c2ea9821909"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#aa9e6f067d6d36474beb54c2ea9821909">Draw</a> (<a class="el" href="class_otter_1_1_graphic.html">Graphic</a> graphic, float x=0, float y=0)</td></tr>
|
||
|
<tr class="memdesc:aa9e6f067d6d36474beb54c2ea9821909"><td class="mdescLeft"> </td><td class="mdescRight">Draws a graphic to this surface. <a href="#aa9e6f067d6d36474beb54c2ea9821909">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aa9e6f067d6d36474beb54c2ea9821909"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad1515db29e971c00f77e76c5f2498ff0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ad1515db29e971c00f77e76c5f2498ff0">Fill</a> (<a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:ad1515db29e971c00f77e76c5f2498ff0"><td class="mdescLeft"> </td><td class="mdescRight">Fills the surface with the specified color. <a href="#ad1515db29e971c00f77e76c5f2498ff0">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ad1515db29e971c00f77e76c5f2498ff0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab98f19f5baeb8a93d10c9a6c3c22cc0f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ab98f19f5baeb8a93d10c9a6c3c22cc0f">Clear</a> ()</td></tr>
|
||
|
<tr class="memdesc:ab98f19f5baeb8a93d10c9a6c3c22cc0f"><td class="mdescLeft"> </td><td class="mdescRight">Clears the surface with the fill color. <a href="#ab98f19f5baeb8a93d10c9a6c3c22cc0f">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ab98f19f5baeb8a93d10c9a6c3c22cc0f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5ecb57c716a963c5d7194b69233be18a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a5ecb57c716a963c5d7194b69233be18a">Clear</a> (<a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:a5ecb57c716a963c5d7194b69233be18a"><td class="mdescLeft"> </td><td class="mdescRight">Clears the surface with a specified color. <a href="#a5ecb57c716a963c5d7194b69233be18a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a5ecb57c716a963c5d7194b69233be18a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ace15ab668e0cb689a3bb5601b6f07be3"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ace15ab668e0cb689a3bb5601b6f07be3">Render</a> (float x=0, float y=0)</td></tr>
|
||
|
<tr class="memdesc:ace15ab668e0cb689a3bb5601b6f07be3"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. <a href="#ace15ab668e0cb689a3bb5601b6f07be3">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ace15ab668e0cb689a3bb5601b6f07be3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab4f2536bf1e297be2fb0e5e99d38de7f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ab4f2536bf1e297be2fb0e5e99d38de7f">DrawToWindow</a> (<a class="el" href="class_otter_1_1_game.html">Game</a> game)</td></tr>
|
||
|
<tr class="memdesc:ab4f2536bf1e297be2fb0e5e99d38de7f"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the surface directly to the game window. This will refresh the view, and Display the surface, as well as clear it if AutoClear is true. <a href="#ab4f2536bf1e297be2fb0e5e99d38de7f">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ab4f2536bf1e297be2fb0e5e99d38de7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aad6b8b4456cc827f2cd5afe75b592ef1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#aad6b8b4456cc827f2cd5afe75b592ef1">DrawToWindow</a> ()</td></tr>
|
||
|
<tr class="memdesc:aad6b8b4456cc827f2cd5afe75b592ef1"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. <a href="#aad6b8b4456cc827f2cd5afe75b592ef1">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aad6b8b4456cc827f2cd5afe75b592ef1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4159601bda8abfd719beddddba60c20a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a4159601bda8abfd719beddddba60c20a">SetView</a> (float x, float y, float angle=0, float zoom=1f)</td></tr>
|
||
|
<tr class="memdesc:a4159601bda8abfd719beddddba60c20a"><td class="mdescLeft"> </td><td class="mdescRight">Set view of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. <a href="#a4159601bda8abfd719beddddba60c20a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a4159601bda8abfd719beddddba60c20a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a40dd8bd1ed8356f8c0950e8bb445f261"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a40dd8bd1ed8356f8c0950e8bb445f261">GetTexture</a> ()</td></tr>
|
||
|
<tr class="memdesc:a40dd8bd1ed8356f8c0950e8bb445f261"><td class="mdescLeft"> </td><td class="mdescRight">Returns a texture by getting the current render texture. I don't know if this works right yet. <a href="#a40dd8bd1ed8356f8c0950e8bb445f261">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a40dd8bd1ed8356f8c0950e8bb445f261"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a162ff9fe527bab2362b785cc3b9eaff5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a162ff9fe527bab2362b785cc3b9eaff5">SaveToFile</a> (string path="")</td></tr>
|
||
|
<tr class="memdesc:a162ff9fe527bab2362b785cc3b9eaff5"><td class="mdescLeft"> </td><td class="mdescRight">Saves the next completed render to a file. The supported image formats are bmp, png, tga and jpg. Note that this waits until the end of the game's <a class="el" href="class_otter_1_1_surface.html#ace15ab668e0cb689a3bb5601b6f07be3" title="Draw the Surface. ">Render()</a> to actually export, otherwise it will be blank! <a href="#a162ff9fe527bab2362b785cc3b9eaff5">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a162ff9fe527bab2362b785cc3b9eaff5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a46a4bb6e6f9e35e9fb3ab2fd6e0141c7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a46a4bb6e6f9e35e9fb3ab2fd6e0141c7">CameraScene</a> (<a class="el" href="class_otter_1_1_scene.html">Scene</a> scene)</td></tr>
|
||
|
<tr class="memdesc:a46a4bb6e6f9e35e9fb3ab2fd6e0141c7"><td class="mdescLeft"> </td><td class="mdescRight">Matches the view of the surface to the same view of a <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. <a href="#a46a4bb6e6f9e35e9fb3ab2fd6e0141c7">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a46a4bb6e6f9e35e9fb3ab2fd6e0141c7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7bffebe33c4957115d534dbb508d8b8c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a7bffebe33c4957115d534dbb508d8b8c">CenterCamera</a> (float x, float y)</td></tr>
|
||
|
<tr class="memdesc:a7bffebe33c4957115d534dbb508d8b8c"><td class="mdescLeft"> </td><td class="mdescRight">Centers the camera of the surface. <a href="#a7bffebe33c4957115d534dbb508d8b8c">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a7bffebe33c4957115d534dbb508d8b8c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_methods_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:ae6b6c8cd33ab5c2af3e0d2b1a35064e7 inherit pub_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#ae6b6c8cd33ab5c2af3e0d2b1a35064e7">Image</a> (string source=null)</td></tr>
|
||
|
<tr class="memdesc:ae6b6c8cd33ab5c2af3e0d2b1a35064e7 inherit pub_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> using a filepath to a texture. <a href="#ae6b6c8cd33ab5c2af3e0d2b1a35064e7">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ae6b6c8cd33ab5c2af3e0d2b1a35064e7 inherit pub_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a759ccc9850e8c00517af07053fa277db inherit pub_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a759ccc9850e8c00517af07053fa277db">Image</a> (<a class="el" href="class_otter_1_1_texture.html">Texture</a> texture)</td></tr>
|
||
|
<tr class="memdesc:a759ccc9850e8c00517af07053fa277db inherit pub_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> using a <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a759ccc9850e8c00517af07053fa277db">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a759ccc9850e8c00517af07053fa277db inherit pub_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac3541a46592d5c32e56453504b084bb3 inherit pub_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#ac3541a46592d5c32e56453504b084bb3">Image</a> (<a class="el" href="class_otter_1_1_atlas_texture.html">AtlasTexture</a> texture)</td></tr>
|
||
|
<tr class="memdesc:ac3541a46592d5c32e56453504b084bb3 inherit pub_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> using an <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a>. <a href="#ac3541a46592d5c32e56453504b084bb3">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ac3541a46592d5c32e56453504b084bb3 inherit pub_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1edd455d593fdc0156126db60daa1f75 inherit pub_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a1edd455d593fdc0156126db60daa1f75">Image</a> (int width, int height)</td></tr>
|
||
|
<tr class="memdesc:a1edd455d593fdc0156126db60daa1f75 inherit pub_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> using a specified width and height. <a href="#a1edd455d593fdc0156126db60daa1f75">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a1edd455d593fdc0156126db60daa1f75 inherit pub_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_methods_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
|
||
|
<tr class="memitem:a19af5b38665a0de5f823ef30d2a01690 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19af5b38665a0de5f823ef30d2a01690"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>AddTransform</b> (<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> transform)</td></tr>
|
||
|
<tr class="separator:a19af5b38665a0de5f823ef30d2a01690 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a218600d2e9a20afe9d27a3e432b713fd inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a218600d2e9a20afe9d27a3e432b713fd"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>AddTransform</b> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> translation, <a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> scale, <a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> origin, float rotation)</td></tr>
|
||
|
<tr class="separator:a218600d2e9a20afe9d27a3e432b713fd inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adbddf0e42a5805e1f08996b1631bec50 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbddf0e42a5805e1f08996b1631bec50"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>AddTransform</b> ()</td></tr>
|
||
|
<tr class="separator:adbddf0e42a5805e1f08996b1631bec50 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a81dc0b5eeaa0ddcbb85e5034d8f9ee25 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81dc0b5eeaa0ddcbb85e5034d8f9ee25"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>RemoveTransformation</b> (<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> transform)</td></tr>
|
||
|
<tr class="separator:a81dc0b5eeaa0ddcbb85e5034d8f9ee25 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0e233d18fe578df8d8778dc1edf10596 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e233d18fe578df8d8778dc1edf10596"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>PopTransformation</b> ()</td></tr>
|
||
|
<tr class="separator:a0e233d18fe578df8d8778dc1edf10596 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a566449091c7353e8dea9dae85aeb60f0">ClearShader</a> ()</td></tr>
|
||
|
<tr class="memdesc:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Removes the shader from the graphic. <a href="#a566449091c7353e8dea9dae85aeb60f0">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a62013484a901990be782e16aef717049">SetPosition</a> (float x, float y)</td></tr>
|
||
|
<tr class="memdesc:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a62013484a901990be782e16aef717049">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a1151402908fdd8971e5df7443b8e222e">SetPosition</a> (<a class="el" href="class_otter_1_1_graphic.html">Graphic</a> g, float offsetX=0, float offsetY=0)</td></tr>
|
||
|
<tr class="memdesc:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a1151402908fdd8971e5df7443b8e222e">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ab5f04a957e20bcdaed51110371ca8c85">SetPosition</a> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> xy)</td></tr>
|
||
|
<tr class="memdesc:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ab5f04a957e20bcdaed51110371ca8c85">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#adcb4d86ecf9735426e59740df3a48308">SetOrigin</a> (float x, float y)</td></tr>
|
||
|
<tr class="memdesc:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the origin of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#adcb4d86ecf9735426e59740df3a48308">More...</a><br/></td></tr>
|
||
|
<tr class="separator:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af7d3259291a4e54b8940717122dc39f0">SetOrigin</a> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> xy)</td></tr>
|
||
|
<tr class="memdesc:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the origin of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#af7d3259291a4e54b8940717122dc39f0">More...</a><br/></td></tr>
|
||
|
<tr class="separator:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aeda2b7a576877a1814111599099ef333">SetTexture</a> (string path)</td></tr>
|
||
|
<tr class="memdesc:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#aeda2b7a576877a1814111599099ef333">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af643b03002a92ca84d9c2889e398d31d">SetTexture</a> (<a class="el" href="class_otter_1_1_texture.html">Texture</a> texture)</td></tr>
|
||
|
<tr class="memdesc:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#af643b03002a92ca84d9c2889e398d31d">More...</a><br/></td></tr>
|
||
|
<tr class="separator:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aef6dbc4707a667519509a987df405eed">SetTexture</a> (<a class="el" href="class_otter_1_1_atlas_texture.html">AtlasTexture</a> atlasTexture)</td></tr>
|
||
|
<tr class="memdesc:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#aef6dbc4707a667519509a987df405eed">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6bd584f60a829d0b4e85bb87468bdbdc">Update</a> ()</td></tr>
|
||
|
<tr class="memdesc:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Update the graphic. <a href="#a6bd584f60a829d0b4e85bb87468bdbdc">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a7b0f76f35bb137064a42978563cfd204">CenterOrigin</a> ()</td></tr>
|
||
|
<tr class="memdesc:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Centers the graphic origin. <a href="#a7b0f76f35bb137064a42978563cfd204">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a82434a556614d98a0e440aab876dc08d">CenterOriginZero</a> ()</td></tr>
|
||
|
<tr class="memdesc:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Centers the graphic origin while retaining its relative position. <a href="#a82434a556614d98a0e440aab876dc08d">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </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:ae03197ab03409475a0e3fd13966a90c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ae03197ab03409475a0e3fd13966a90c5">FillColor</a></td></tr>
|
||
|
<tr class="memdesc:ae03197ab03409475a0e3fd13966a90c5"><td class="mdescLeft"> </td><td class="mdescRight">The color that the surface will fill with at the start of each render. <a href="#ae03197ab03409475a0e3fd13966a90c5">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ae03197ab03409475a0e3fd13966a90c5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a70a05b3dd3d799acb8b90c3a2f9bb88c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a70a05b3dd3d799acb8b90c3a2f9bb88c">AutoClear</a> = true</td></tr>
|
||
|
<tr class="memdesc:a70a05b3dd3d799acb8b90c3a2f9bb88c"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> will automatically clear at the start of the next render cycle. <a href="#a70a05b3dd3d799acb8b90c3a2f9bb88c">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a70a05b3dd3d799acb8b90c3a2f9bb88c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3d6329443ab48432443f1ed444e327d7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a3d6329443ab48432443f1ed444e327d7">UseSceneCamera</a></td></tr>
|
||
|
<tr class="memdesc:a3d6329443ab48432443f1ed444e327d7"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> will automatically set its camera to the <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>'s camera. <a href="#a3d6329443ab48432443f1ed444e327d7">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a3d6329443ab48432443f1ed444e327d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_attribs_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
|
||
|
<tr class="memitem:af23d42792ac18cca618787cfaf4ab0d2 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af23d42792ac18cca618787cfaf4ab0d2"></a>
|
||
|
List< <a class="el" href="class_otter_1_1_transformation.html">Transformation</a> > </td><td class="memItemRight" valign="bottom"><b>Transforms</b> = new List<<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>>() { new <a class="el" href="class_otter_1_1_transformation.html">Transformation</a>() }</td></tr>
|
||
|
<tr class="separator:af23d42792ac18cca618787cfaf4ab0d2 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afe0a50137a980c22d03ae172b2ad6a79">Relative</a> = true</td></tr>
|
||
|
<tr class="memdesc:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is rendered relative to its <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a>. <a href="#afe0a50137a980c22d03ae172b2ad6a79">More...</a><br/></td></tr>
|
||
|
<tr class="separator:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a35e50e9305e42625246e0ecc4dda5c11">Visible</a> = true</td></tr>
|
||
|
<tr class="memdesc:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> will render. <a href="#a35e50e9305e42625246e0ecc4dda5c11">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af191405ef8b1d887c227aad5a5c0a3df">ScrollX</a> = 1</td></tr>
|
||
|
<tr class="memdesc:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The scroll factor for the x position. Used for parallax like effects. Values lower than 1 will scroll slower than the camera (appear to be further away) and values higher than 1 will scroll faster than the camera (appear to be closer.) <a href="#af191405ef8b1d887c227aad5a5c0a3df">More...</a><br/></td></tr>
|
||
|
<tr class="separator:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6e0a8d638e5b7e035e5ef8961a8da186">ScrollY</a> = 1</td></tr>
|
||
|
<tr class="memdesc:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The scroll factor for the y position. Used for parallax like effects. Values lower than 1 will scroll slower than the camera (appear to be further away) and values higher than 1 will scroll faster than the camera (appear to be closer.) <a href="#a6e0a8d638e5b7e035e5ef8961a8da186">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a53eaaf8b69de60373dc305e90d2a2e2a">ShakeX</a></td></tr>
|
||
|
<tr class="memdesc:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The horizontal amount to randomly offset the graphic by each frame. <a href="#a53eaaf8b69de60373dc305e90d2a2e2a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a511f85b72bb8e840aa260a0c6ac83b7e">ShakeY</a></td></tr>
|
||
|
<tr class="memdesc:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The vertial amount to randomly offset the graphic by each frame. <a href="#a511f85b72bb8e840aa260a0c6ac83b7e">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa0271204b4d99960f0078444bc45a746">TextureRegion</a></td></tr>
|
||
|
<tr class="memdesc:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The region to render the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> with. <a href="#aa0271204b4d99960f0078444bc45a746">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#abf9d58f243c052ae75253fa278e62983">AtlasRegion</a></td></tr>
|
||
|
<tr class="memdesc:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="struct_otter_1_1_rectangle.html" title="Struct for representing a Rectangle. ">Rectangle</a> to render an <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a> with. <a href="#abf9d58f243c052ae75253fa278e62983">More...</a><br/></td></tr>
|
||
|
<tr class="separator:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_shader.html">Shader</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#acd77c883750ac1c59976e975d71f5c86">Shader</a></td></tr>
|
||
|
<tr class="memdesc:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The shader to be applied to this graphic. <a href="#acd77c883750ac1c59976e975d71f5c86">More...</a><br/></td></tr>
|
||
|
<tr class="separator:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#adf9058bd8f0b72b05b52ac0bc6bd3db5">Name</a> = "Graphic"</td></tr>
|
||
|
<tr class="memdesc:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The name of the graphic. <a href="#adf9058bd8f0b72b05b52ac0bc6bd3db5">More...</a><br/></td></tr>
|
||
|
<tr class="separator:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_otter.html#aecf7d2681beb4e3fd83a217c3c688a67">BlendMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ace9913f6d7338184b1a2521ff5b39710">Blend</a> = BlendMode.Alpha</td></tr>
|
||
|
<tr class="memdesc:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The blend mode to be applied to this graphic. <a href="#ace9913f6d7338184b1a2521ff5b39710">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a5d348dd0920041c1ebb961b2dbc3ad38">RepeatX</a></td></tr>
|
||
|
<tr class="memdesc:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the image should be rendered multiple times horizontally. <a href="#a5d348dd0920041c1ebb961b2dbc3ad38">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa48b5e78bb0a3d7b830b6ccd16ba546d">RepeatY</a></td></tr>
|
||
|
<tr class="memdesc:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the image should be rendered multiple times vertically. <a href="#aa48b5e78bb0a3d7b830b6ccd16ba546d">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
|
||
|
Properties</h2></td></tr>
|
||
|
<tr class="memitem:a19560b8becb8e11dd61e5b413e0697b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_game.html">Game</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a19560b8becb8e11dd61e5b413e0697b3">Game</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a19560b8becb8e11dd61e5b413e0697b3"><td class="mdescLeft"> </td><td class="mdescRight">The reference to the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> using this <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> (if it is the main <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> the game is rendering to!) <a href="#a19560b8becb8e11dd61e5b413e0697b3">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a19560b8becb8e11dd61e5b413e0697b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:addd7df325ca0f1ef9bdaa5d46cffd056"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#addd7df325ca0f1ef9bdaa5d46cffd056">CameraX</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:addd7df325ca0f1ef9bdaa5d46cffd056"><td class="mdescLeft"> </td><td class="mdescRight">The camera X for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. <a href="#addd7df325ca0f1ef9bdaa5d46cffd056">More...</a><br/></td></tr>
|
||
|
<tr class="separator:addd7df325ca0f1ef9bdaa5d46cffd056"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:affa77fa61c60d0c6544fca1dba3c5c07"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#affa77fa61c60d0c6544fca1dba3c5c07">CameraY</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:affa77fa61c60d0c6544fca1dba3c5c07"><td class="mdescLeft"> </td><td class="mdescRight">The camera Y for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. <a href="#affa77fa61c60d0c6544fca1dba3c5c07">More...</a><br/></td></tr>
|
||
|
<tr class="separator:affa77fa61c60d0c6544fca1dba3c5c07"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae46be46b2162e4600400d1ec9d175351"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#ae46be46b2162e4600400d1ec9d175351">CameraAngle</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:ae46be46b2162e4600400d1ec9d175351"><td class="mdescLeft"> </td><td class="mdescRight">The camera angle for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. <a href="#ae46be46b2162e4600400d1ec9d175351">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ae46be46b2162e4600400d1ec9d175351"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2ccf3ce30af6089a41f430756e4792de"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a2ccf3ce30af6089a41f430756e4792de">CameraZoom</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a2ccf3ce30af6089a41f430756e4792de"><td class="mdescLeft"> </td><td class="mdescRight">The camera zoom for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. <a href="#a2ccf3ce30af6089a41f430756e4792de">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a2ccf3ce30af6089a41f430756e4792de"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a17d133685071a1a908db9d456ad3233b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17d133685071a1a908db9d456ad3233b"></a>
|
||
|
float </td><td class="memItemRight" valign="bottom"><b>CameraWidth</b><code> [get]</code></td></tr>
|
||
|
<tr class="separator:a17d133685071a1a908db9d456ad3233b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a466970ccf56cb6d674efbf8bc6c44e50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a466970ccf56cb6d674efbf8bc6c44e50"></a>
|
||
|
float </td><td class="memItemRight" valign="bottom"><b>CameraHeight</b><code> [get]</code></td></tr>
|
||
|
<tr class="separator:a466970ccf56cb6d674efbf8bc6c44e50"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2c88a0a25319a9279fe9024427fcd72a"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_otter_1_1_texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a2c88a0a25319a9279fe9024427fcd72a">Texture</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a2c88a0a25319a9279fe9024427fcd72a"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> has rendered to. <a href="#a2c88a0a25319a9279fe9024427fcd72a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a2c88a0a25319a9279fe9024427fcd72a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1b3c8894d2013809cfdc10c480730eb8"><td class="memItemLeft" align="right" valign="top">override bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_surface.html#a1b3c8894d2013809cfdc10c480730eb8">Smooth</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a1b3c8894d2013809cfdc10c480730eb8"><td class="mdescLeft"> </td><td class="mdescRight">Determines the pixel smoothing for the surface. <a href="#a1b3c8894d2013809cfdc10c480730eb8">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a1b3c8894d2013809cfdc10c480730eb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header properties_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('properties_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:a4af026ba24e606faaea7746691cb6b5f inherit properties_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a4af026ba24e606faaea7746691cb6b5f">ClippingRegion</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a4af026ba24e606faaea7746691cb6b5f inherit properties_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Defines which area of the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> to show. <a href="#a4af026ba24e606faaea7746691cb6b5f">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a4af026ba24e606faaea7746691cb6b5f inherit properties_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a654c7269d1edd58ac7368a68cc2f4fe2 inherit properties_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a654c7269d1edd58ac7368a68cc2f4fe2">FlippedX</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a654c7269d1edd58ac7368a68cc2f4fe2 inherit properties_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Flip the texture coordinates on the X axis. <a href="#a654c7269d1edd58ac7368a68cc2f4fe2">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a654c7269d1edd58ac7368a68cc2f4fe2 inherit properties_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a034ba2383622d0c6538c02c0bf48c51f inherit properties_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a034ba2383622d0c6538c02c0bf48c51f">FlippedY</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a034ba2383622d0c6538c02c0bf48c51f inherit properties_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Flip the texture coordinates on the Y axis. <a href="#a034ba2383622d0c6538c02c0bf48c51f">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a034ba2383622d0c6538c02c0bf48c51f inherit properties_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8f8eb1d54fbb93a307bdc3ef70e43cef inherit properties_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a8f8eb1d54fbb93a307bdc3ef70e43cef">OutlineColor</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a8f8eb1d54fbb93a307bdc3ef70e43cef inherit properties_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">The outline color of the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> (only applies to circles and rectangles.) <a href="#a8f8eb1d54fbb93a307bdc3ef70e43cef">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a8f8eb1d54fbb93a307bdc3ef70e43cef inherit properties_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0152ef96ca2b241512fc2c302c31795c inherit properties_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a0152ef96ca2b241512fc2c302c31795c">OutlineThickness</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a0152ef96ca2b241512fc2c302c31795c inherit properties_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">The outline thickness of the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> (only applies to circles and rectangles.) <a href="#a0152ef96ca2b241512fc2c302c31795c">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a0152ef96ca2b241512fc2c302c31795c inherit properties_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header properties_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('properties_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
|
||
|
<tr class="memitem:a1639c0e75eabaf8afe04fca0fcbfbc67 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1639c0e75eabaf8afe04fca0fcbfbc67"></a>
|
||
|
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> </td><td class="memItemRight" valign="bottom"><b>Transform</b><code> [get]</code></td></tr>
|
||
|
<tr class="separator:a1639c0e75eabaf8afe04fca0fcbfbc67 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ac1c77d3b0bc99c13b80f87a65c52dc0c">X</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ac1c77d3b0bc99c13b80f87a65c52dc0c">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a1be9d65814bcf62775eeaf974bc121b1">Y</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a1be9d65814bcf62775eeaf974bc121b1">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afb0b60ee988b2563a1167c794d8126b8">ScaleX</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The horizontal scale of the graphic. Used in the final transformation. <a href="#afb0b60ee988b2563a1167c794d8126b8">More...</a><br/></td></tr>
|
||
|
<tr class="separator:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a5005cf9fc3bc9c17acd7cd126f60b5f6">ScaleY</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The vertical scale of the graphic. Used in the final transformation. <a href="#a5005cf9fc3bc9c17acd7cd126f60b5f6">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6200731f9063eca5432a907f46a3c14a">Angle</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The angle of rotation of the graphic. Used in the final transformation. <a href="#a6200731f9063eca5432a907f46a3c14a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a363ac12b77a084e0c2225329824ceb60">OriginX</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X origin point to scale and rotate the graphic with. Used in the final transformation. <a href="#a363ac12b77a084e0c2225329824ceb60">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a026aa41cbf7c3feea6e52f3aa6136a9b">OriginY</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y origin point to scale and rotate the graphic with. Used in the final transformation. <a href="#a026aa41cbf7c3feea6e52f3aa6136a9b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a94350f6c5ec5b927b8384d1b4e47b12b">Color</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The base color of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. Multiplies the vertices of the graphic by this color. <a href="#a94350f6c5ec5b927b8384d1b4e47b12b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_otter_1_1_texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af370f00f361c247ae65416da9e0aa720">Texture</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The texture that the graphic is using. <a href="#af370f00f361c247ae65416da9e0aa720">More...</a><br/></td></tr>
|
||
|
<tr class="separator:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a36f83faa4c5af684b464d30f47054349">Alpha</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The base transparency of the graphic. A shortcut to access the base color's Alpha. <a href="#a36f83faa4c5af684b464d30f47054349">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ab8ac28460606b2f36bfad89615e30579">Width</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The width of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ab8ac28460606b2f36bfad89615e30579">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ae711ca62ff98ca431cf914aea4577998">Height</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The height of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ae711ca62ff98ca431cf914aea4577998">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a8f35ac02a557dcc30a28b8c24afaf00a">ScaledWidth</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The width in pixels of the image after applying the X scale. <a href="#a8f35ac02a557dcc30a28b8c24afaf00a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aeae3bb321bf1d7ad9b2b611c2fa1b263">ScaledHeight</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The height in pixels of the image after applying the Y scale. <a href="#aeae3bb321bf1d7ad9b2b611c2fa1b263">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa4b11fb0e8dca8683d18357a9fcc5da6">Smooth</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Smooth the texture of a sprite image while scaling it. <a href="#aa4b11fb0e8dca8683d18357a9fcc5da6">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a2d761435ffaceb7f775451c96b834303">Scroll</a><code> [get, set]</code></td></tr>
|
||
|
<tr class="memdesc:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Set both ScrollX and ScrollY. <a href="#a2d761435ffaceb7f775451c96b834303">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a62320291b983b6d14cc6ff7a88674473">HalfWidth</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Half of the width. <a href="#a62320291b983b6d14cc6ff7a88674473">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a770ffe9d12a64d2039fd8e7e3325281b">HalfHeight</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Half of the height. <a href="#a770ffe9d12a64d2039fd8e7e3325281b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a7198d345961a7b5ebf66576179a75905">Scale</a><code> [set]</code></td></tr>
|
||
|
<tr class="memdesc:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Sets both the ScaleX and ScaleY at the same time. <a href="#a7198d345961a7b5ebf66576179a75905">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a110b985411b157e7c90244b188c27cd1">Repeat</a><code> [set]</code></td></tr>
|
||
|
<tr class="memdesc:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">Sets both RepeatX and RepeatY at the same time. <a href="#a110b985411b157e7c90244b188c27cd1">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a3e3ba760503ca2ff4e337dd014de8f6f">Shake</a><code> [set]</code></td></tr>
|
||
|
<tr class="memdesc:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">A shortcut to set both ShakeX and ShakeY. <a href="#a3e3ba760503ca2ff4e337dd014de8f6f">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a9b2656995577a2e6986360f6a643e6c6">Left</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the left side of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a9b2656995577a2e6986360f6a643e6c6">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ac46d20b9d5c8c78cc44107ead9dcb0a7">Top</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the top of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ac46d20b9d5c8c78cc44107ead9dcb0a7">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a132614335bab08fad41cd3c40e474d41">Right</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the right side of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a132614335bab08fad41cd3c40e474d41">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a4ace8225e3197aa49641d1c190275af9">Bottom</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the bottom of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a4ace8225e3197aa49641d1c190275af9">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6582df0024a9793cbeddb00d7f064d08">TextureLeft</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the left of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a6582df0024a9793cbeddb00d7f064d08">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a02ca4c8ea182416c91eee4f7099e555b">TextureRight</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The X position of the right of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a02ca4c8ea182416c91eee4f7099e555b">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afb78c1bf05bf8ffb96b12f74b0bc2fdc">TextureTop</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the top of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#afb78c1bf05bf8ffb96b12f74b0bc2fdc">More...</a><br/></td></tr>
|
||
|
<tr class="separator:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a458673e847eb73ef7427aa99d24b4930">TextureBottom</a><code> [get]</code></td></tr>
|
||
|
<tr class="memdesc:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">The Y position of the bottom of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a458673e847eb73ef7427aa99d24b4930">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </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 pub_static_methods_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:ae2378ec52cf2c2dce714cc828afe166d inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#ae2378ec52cf2c2dce714cc828afe166d">CreateRectangle</a> (int width, int height, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:ae2378ec52cf2c2dce714cc828afe166d inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#ae2378ec52cf2c2dce714cc828afe166d">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ae2378ec52cf2c2dce714cc828afe166d inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a90b022d7b461ea85200ee10c628b00e4 inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a90b022d7b461ea85200ee10c628b00e4">CreateRectangle</a> (<a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:a90b022d7b461ea85200ee10c628b00e4 inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle the size of the active <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. <a href="#a90b022d7b461ea85200ee10c628b00e4">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a90b022d7b461ea85200ee10c628b00e4 inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5bb5ef98201231e1efc5799ff4ae1f9c inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a5bb5ef98201231e1efc5799ff4ae1f9c">CreateRectangle</a> ()</td></tr>
|
||
|
<tr class="memdesc:a5bb5ef98201231e1efc5799ff4ae1f9c inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a simple black rectangle the size of the active <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. <a href="#a5bb5ef98201231e1efc5799ff4ae1f9c">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a5bb5ef98201231e1efc5799ff4ae1f9c inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aec1cb478cac544537a86a4b0808d02e6 inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#aec1cb478cac544537a86a4b0808d02e6">CreateRectangle</a> (int width, int height)</td></tr>
|
||
|
<tr class="memdesc:aec1cb478cac544537a86a4b0808d02e6 inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#aec1cb478cac544537a86a4b0808d02e6">More...</a><br/></td></tr>
|
||
|
<tr class="separator:aec1cb478cac544537a86a4b0808d02e6 inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a419c191597f5889470ca033a715e4ba7 inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a419c191597f5889470ca033a715e4ba7">CreateRectangle</a> (int size)</td></tr>
|
||
|
<tr class="memdesc:a419c191597f5889470ca033a715e4ba7 inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#a419c191597f5889470ca033a715e4ba7">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a419c191597f5889470ca033a715e4ba7 inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a63164b8a715e8f71937c436491ec075e inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a63164b8a715e8f71937c436491ec075e">CreateRectangle</a> (int size, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:a63164b8a715e8f71937c436491ec075e inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#a63164b8a715e8f71937c436491ec075e">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a63164b8a715e8f71937c436491ec075e inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1970add6d98de67d3a6815a4abdfad7a inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a1970add6d98de67d3a6815a4abdfad7a">CreateCircle</a> (int radius, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
|
||
|
<tr class="memdesc:a1970add6d98de67d3a6815a4abdfad7a inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Create a circle. <a href="#a1970add6d98de67d3a6815a4abdfad7a">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a1970add6d98de67d3a6815a4abdfad7a inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5487bb01cd37a89c890f4201bda00b17 inherit pub_static_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_image.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a5487bb01cd37a89c890f4201bda00b17">CreateCircle</a> (int radius)</td></tr>
|
||
|
<tr class="memdesc:a5487bb01cd37a89c890f4201bda00b17 inherit pub_static_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Create a white circle. <a href="#a5487bb01cd37a89c890f4201bda00b17">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a5487bb01cd37a89c890f4201bda00b17 inherit pub_static_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_static_attribs_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:a0805a8d3151962588d4d6eb1f205a532 inherit pub_static_attribs_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#a0805a8d3151962588d4d6eb1f205a532">CirclePointCount</a> = 24</td></tr>
|
||
|
<tr class="memdesc:a0805a8d3151962588d4d6eb1f205a532 inherit pub_static_attribs_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">The amount of points to use when rendering a circle shape. <a href="#a0805a8d3151962588d4d6eb1f205a532">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a0805a8d3151962588d4d6eb1f205a532 inherit pub_static_attribs_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pro_methods_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:a588207d69975607da0539d7bc1d1dcef inherit pro_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a588207d69975607da0539d7bc1d1dcef"></a>
|
||
|
override void </td><td class="memItemRight" valign="bottom"><b>TextureChanged</b> ()</td></tr>
|
||
|
<tr class="separator:a588207d69975607da0539d7bc1d1dcef inherit pro_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad379396b5eae883bb95977f9686850e8 inherit pro_methods_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_image.html#ad379396b5eae883bb95977f9686850e8">UpdateDrawable</a> ()</td></tr>
|
||
|
<tr class="memdesc:ad379396b5eae883bb95977f9686850e8 inherit pro_methods_class_otter_1_1_image"><td class="mdescLeft"> </td><td class="mdescRight">Updates the internal SFML data for rendering. <a href="#ad379396b5eae883bb95977f9686850e8">More...</a><br/></td></tr>
|
||
|
<tr class="separator:ad379396b5eae883bb95977f9686850e8 inherit pro_methods_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pro_methods_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
|
||
|
<tr class="memitem:a34c475fdfe8a0816f822597149ae90de inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34c475fdfe8a0816f822597149ae90de"></a>
|
||
|
void </td><td class="memItemRight" valign="bottom"><b>Append</b> (float x, float y, <a class="el" href="class_otter_1_1_color.html">Color</a> color, float u, float v)</td></tr>
|
||
|
<tr class="separator:a34c475fdfe8a0816f822597149ae90de inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a495d01f666ee9904f461d18dfbb55202 inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a495d01f666ee9904f461d18dfbb55202"></a>
|
||
|
void </td><td class="memItemRight" valign="bottom"><b>Append</b> (float x, float y, <a class="el" href="class_otter_1_1_color.html">Color</a> color=null)</td></tr>
|
||
|
<tr class="separator:a495d01f666ee9904f461d18dfbb55202 inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac560213b23650625ec6c18b5298cb9f5 inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac560213b23650625ec6c18b5298cb9f5"></a>
|
||
|
virtual void </td><td class="memItemRight" valign="bottom"><b>SFMLRender</b> (Drawable drawable, float x=0, float y=0)</td></tr>
|
||
|
<tr class="separator:ac560213b23650625ec6c18b5298cb9f5 inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pro_attribs_class_otter_1_1_image"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_otter_1_1_image')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_otter_1_1_image.html">Otter.Image</a></td></tr>
|
||
|
<tr class="memitem:a2cd03bc32c69202e3202b6e2cda6a30f inherit pro_attribs_class_otter_1_1_image"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2cd03bc32c69202e3202b6e2cda6a30f"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>flipX</b> = false</td></tr>
|
||
|
<tr class="separator:a2cd03bc32c69202e3202b6e2cda6a30f inherit pro_attribs_class_otter_1_1_image"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pro_attribs_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
|
||
|
<tr class="memitem:a72538737f073d4303a100f79c70addf6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72538737f073d4303a100f79c70addf6"></a>
|
||
|
VertexArray </td><td class="memItemRight" valign="bottom"><b>SFMLVertices</b> = new VertexArray(PrimitiveType.Quads)</td></tr>
|
||
|
<tr class="separator:a72538737f073d4303a100f79c70addf6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae98809f61474e2d2f339c66a7c8d6ecf inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98809f61474e2d2f339c66a7c8d6ecf"></a>
|
||
|
Drawable </td><td class="memItemRight" valign="bottom"><b>SFMLDrawable</b></td></tr>
|
||
|
<tr class="separator:ae98809f61474e2d2f339c66a7c8d6ecf inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a083c0250edd37c5bcc7d396aad83a528 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a083c0250edd37c5bcc7d396aad83a528"></a>
|
||
|
float </td><td class="memItemRight" valign="bottom"><b>RepeatSizeX</b></td></tr>
|
||
|
<tr class="separator:a083c0250edd37c5bcc7d396aad83a528 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1178b15ab32c761cd7988392a58d7fd6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1178b15ab32c761cd7988392a58d7fd6"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>roundRendering</b> = true</td></tr>
|
||
|
<tr class="separator:a1178b15ab32c761cd7988392a58d7fd6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a762a3bac8d651ffcf6736a5acd8cc1f8">Dynamic</a></td></tr>
|
||
|
<tr class="memdesc:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><td class="mdescLeft"> </td><td class="mdescRight">If true the graphic will always update its drawable. <a href="#a762a3bac8d651ffcf6736a5acd8cc1f8">More...</a><br/></td></tr>
|
||
|
<tr class="separator:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p><a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> that represents a render target. By default the game uses a master surface to render the game to the window. Be aware of graphics card limiations of render textures when creating surfaces. </p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="aa1aaf48edfdfd8dd636aa5aed49b0a31"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Otter.Surface.Surface </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>width</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>height</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a> </td>
|
||
|
<td class="paramname"><em>color</em> = <code>null</code> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> with a specified size. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">width</td><td>The width of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
<tr><td class="paramname">height</td><td>The height of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
<tr><td class="paramname">color</td><td>The default fill color of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4b1726ceaf1c19d998e43bee42695de5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Otter.Surface.Surface </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>width</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>height</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">width</td><td>The width of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
<tr><td class="paramname">height</td><td>The height of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="acaaad7160f07b370c46b872ec447815a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Otter.Surface.Surface </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>size</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">size</td><td>The width and height of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7b3b93dafd642e5ec6a9b342af2290b3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">Otter.Surface.Surface </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>size</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a> </td>
|
||
|
<td class="paramname"><em>color</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> of a specified size. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">size</td><td>The width and height of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to create.</td></tr>
|
||
|
<tr><td class="paramname">color</td><td>The default fill color of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="afb4417c74c4fa0bbd88ee7091caf430b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.AddShader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_shader.html">Shader</a> </td>
|
||
|
<td class="paramname"><em>shader</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Add a shader to be drawn on the surface. If "Shader" is set, the shader list is ignored. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">shader</td><td>The <a class="el" href="class_otter_1_1_shader.html" title="Class representing a shader written in GLSL. Warning: Visual Studio encoding must be set to Western E...">Shader</a> to add.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a46a4bb6e6f9e35e9fb3ab2fd6e0141c7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.CameraScene </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_scene.html">Scene</a> </td>
|
||
|
<td class="paramname"><em>scene</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Matches the view of the surface to the same view of a <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">scene</td><td>The <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a> to match the camera with.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7bffebe33c4957115d534dbb508d8b8c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.CenterCamera </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Centers the camera of the surface. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>The X position to be the center of the scene.</td></tr>
|
||
|
<tr><td class="paramname">y</td><td>The Y position to be the center of the scene.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab98f19f5baeb8a93d10c9a6c3c22cc0f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.Clear </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Clears the surface with the fill color. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5ecb57c716a963c5d7194b69233be18a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.Clear </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a> </td>
|
||
|
<td class="paramname"><em>color</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Clears the surface with a specified color. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">color</td><td>The <a class="el" href="class_otter_1_1_color.html" title="Class that represents a color with red, green, blue, and alpha channels. ">Color</a> to clear the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> with.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab2e6b67aae8a429b10b0b5052bf7794b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.ClearShaders </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Remove all shaders from the surface. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6edee040c865cb2974d62532ef185709"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.Display </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Calls the SFML Display function on the internal render texture. Should be used before any sort of rendering, otherwise the texture will be upside down! </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa9e6f067d6d36474beb54c2ea9821909"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.Draw </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_graphic.html">Graphic</a> </td>
|
||
|
<td class="paramname"><em>graphic</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>x</em> = <code>0</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>y</em> = <code>0</code> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Draws a graphic to this surface. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">graphic</td><td>The <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> to draw.</td></tr>
|
||
|
<tr><td class="paramname">x</td><td>The X position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>.</td></tr>
|
||
|
<tr><td class="paramname">y</td><td>The Y position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab4f2536bf1e297be2fb0e5e99d38de7f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.DrawToWindow </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_game.html">Game</a> </td>
|
||
|
<td class="paramname"><em>game</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the surface directly to the game window. This will refresh the view, and Display the surface, as well as clear it if AutoClear is true. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">game</td><td>The <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> to render to.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aad6b8b4456cc827f2cd5afe75b592ef1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.DrawToWindow </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> window. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad1515db29e971c00f77e76c5f2498ff0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.Fill </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a> </td>
|
||
|
<td class="paramname"><em>color</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Fills the surface with the specified color. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">color</td><td>The <a class="el" href="class_otter_1_1_color.html" title="Class that represents a color with red, green, blue, and alpha channels. ">Color</a> to fill the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> with.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a40dd8bd1ed8356f8c0950e8bb445f261"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="class_otter_1_1_texture.html">Texture</a> Otter.Surface.GetTexture </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns a texture by getting the current render texture. I don't know if this works right yet. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a60a60c2b3f9ff53e2650d4339298b893"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="class_otter_1_1_shader.html">Shader</a> Otter.Surface.PopShader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Remove the top most shader on the list of shaders. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>The removed <a class="el" href="class_otter_1_1_shader.html" title="Class representing a shader written in GLSL. Warning: Visual Studio encoding must be set to Western E...">Shader</a>.</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9f2bba13c2454c5131d4d3ebde5fbc2e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.RemoveShader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_shader.html">Shader</a> </td>
|
||
|
<td class="paramname"><em>shader</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Remove a shader from the surface. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">shader</td><td>The <a class="el" href="class_otter_1_1_shader.html" title="Class representing a shader written in GLSL. Warning: Visual Studio encoding must be set to Western E...">Shader</a> to remove.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ace15ab668e0cb689a3bb5601b6f07be3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">override void Otter.Surface.Render </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>x</em> = <code>0</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>y</em> = <code>0</code> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>The X position offset.</td></tr>
|
||
|
<tr><td class="paramname">y</td><td>The Y position offset.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Reimplemented from <a class="el" href="class_otter_1_1_graphic.html#a5e57f7a981500e8d2fe90910a27948f4">Otter.Graphic</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a162ff9fe527bab2362b785cc3b9eaff5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.SaveToFile </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">string </td>
|
||
|
<td class="paramname"><em>path</em> = <code>""</code></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Saves the next completed render to a file. The supported image formats are bmp, png, tga and jpg. Note that this waits until the end of the game's <a class="el" href="class_otter_1_1_surface.html#ace15ab668e0cb689a3bb5601b6f07be3" title="Draw the Surface. ">Render()</a> to actually export, otherwise it will be blank! </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">path</td><td>The file path to save to. The type of image is deduced from the extension. If left unspecified the path will be a png file of the current time in the same folder as the executable. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aaed30c7b1650cf6ac46321b0c86a0bfd"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.SetShader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="class_otter_1_1_shader.html">Shader</a> </td>
|
||
|
<td class="paramname"><em>shader</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Replace all shaders with a single shader. This will be ignored if "Shader" is set. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">shader</td><td>The <a class="el" href="class_otter_1_1_shader.html" title="Class representing a shader written in GLSL. Warning: Visual Studio encoding must be set to Western E...">Shader</a> to use.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4159601bda8abfd719beddddba60c20a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Otter.Surface.SetView </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>y</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>angle</em> = <code>0</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>zoom</em> = <code>1f</code> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Set view of the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>The X position of the view.</td></tr>
|
||
|
<tr><td class="paramname">y</td><td>The Y position of the view.</td></tr>
|
||
|
<tr><td class="paramname">angle</td><td>The angle of the view.</td></tr>
|
||
|
<tr><td class="paramname">zoom</td><td>The zoom of the view.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2f2fdc86f67e04d10fdac0d0f9b2e349"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.SurfaceX </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>x</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Convert an X position into the same position but on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. TODO: Make this work with scale and rotation. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>The X position in the <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>The X position on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>.</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ade854189147d218823871f731c7c71b3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.SurfaceY </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">float </td>
|
||
|
<td class="paramname"><em>y</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Convert a Y position into the same position but on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. TODO: Make this work with scale and rotation. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">y</td><td>The Y position in the <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>.</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>The Y position on the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>.</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a70a05b3dd3d799acb8b90c3a2f9bb88c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Otter.Surface.AutoClear = true</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Determines if the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> will automatically clear at the start of the next render cycle. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae03197ab03409475a0e3fd13966a90c5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="class_otter_1_1_color.html">Color</a> Otter.Surface.FillColor</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The color that the surface will fill with at the start of each render. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3d6329443ab48432443f1ed444e327d7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Otter.Surface.UseSceneCamera</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Determines if the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> will automatically set its camera to the <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>'s camera. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Property Documentation</h2>
|
||
|
<a class="anchor" id="ae46be46b2162e4600400d1ec9d175351"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.CameraAngle</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The camera angle for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="addd7df325ca0f1ef9bdaa5d46cffd056"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.CameraX</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The camera X for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="affa77fa61c60d0c6544fca1dba3c5c07"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.CameraY</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The camera Y for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2ccf3ce30af6089a41f430756e4792de"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">float Otter.Surface.CameraZoom</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The camera zoom for the view of the surface. Note: For the game's main surface, this is controlled by the active <a class="el" href="class_otter_1_1_scene.html" title="Class used to manage Entities. The active Game should update the active Scene, which then updates all...">Scene</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a19560b8becb8e11dd61e5b413e0697b3"></a>
|
||
|
<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="class_otter_1_1_game.html">Game</a> Otter.Surface.Game</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The reference to the <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> using this <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> (if it is the main <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> the game is rendering to!) </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1b3c8894d2013809cfdc10c480730eb8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">override bool Otter.Surface.Smooth</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Determines the pixel smoothing for the surface. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2c88a0a25319a9279fe9024427fcd72a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">override <a class="el" href="class_otter_1_1_texture.html">Texture</a> Otter.Surface.Texture</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">get</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>The <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> has rendered to. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li>Otter/Graphics/Drawables/Surface.cs</li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespace_otter.html">Otter</a></li><li class="navelem"><a class="el" href="class_otter_1_1_surface.html">Surface</a></li>
|
||
|
<li class="footer">Generated on Thu May 12 2016 18:16:52 for Otter by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|