Files
esengine/source/docs/classes/_ecs_components_renderables_mesh_.es.mesh.html
2020-11-20 14:07:34 +08:00

1654 lines
107 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Mesh | @esengine/egret-framework</title>
<meta name="description" content="Documentation for @esengine/egret-framework">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@esengine/egret-framework</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="../modules/_ecs_components_renderables_mesh_.html">&quot;ECS/Components/Renderables/Mesh&quot;</a>
</li>
<li>
<a href="../modules/_ecs_components_renderables_mesh_.es.html">es</a>
</li>
<li>
<a href="_ecs_components_renderables_mesh_.es.mesh.html">Mesh</a>
</li>
</ul>
<h1>Class Mesh</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>可用于创建简单网格的基本类</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a>
<ul class="tsd-hierarchy">
<li>
<span class="target">Mesh</span>
</li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel">
<h3>Implements</h3>
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type">IHashObject</span></li>
<li><a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html" class="tsd-signature-type">IRenderable</a></li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section tsd-is-inherited">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_hashcode" class="tsd-kind-icon">$hash<wbr>Code</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_areboundsdirty" class="tsd-kind-icon">_are<wbr>Bounds<wbr>Dirty</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_bounds" class="tsd-kind-icon">_bounds</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_height" class="tsd-kind-icon">_height</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_localoffset" class="tsd-kind-icon">_local<wbr>Offset</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_primitivecount" class="tsd-kind-icon">_primitive<wbr>Count</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_renderlayer" class="tsd-kind-icon">_render<wbr>Layer</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_topleftvertposition" class="tsd-kind-icon">_top<wbr>Left<wbr>Vert<wbr>Position</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_triangles" class="tsd-kind-icon">_triangles</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_verts" class="tsd-kind-icon">_verts</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#_width" class="tsd-kind-icon">_width</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#color" class="tsd-kind-icon">color</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#debugdisplayobject" class="tsd-kind-icon">debug<wbr>Display<wbr>Object</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#debugrenderenabled" class="tsd-kind-icon">debug<wbr>Render<wbr>Enabled</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="_ecs_components_renderables_mesh_.es.mesh.html#displayobject" class="tsd-kind-icon">display<wbr>Object</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#entity" class="tsd-kind-icon">entity</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#hashcode" class="tsd-kind-icon">hash<wbr>Code</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#hollowshape" class="tsd-kind-icon">hollow<wbr>Shape</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#pixelshape" class="tsd-kind-icon">pixel<wbr>Shape</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#updateinterval" class="tsd-kind-icon">update<wbr>Interval</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Accessors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite"><a href="_ecs_components_renderables_mesh_.es.mesh.html#bounds" class="tsd-kind-icon">bounds</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#enabled" class="tsd-kind-icon">enabled</a></li>
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#height" class="tsd-kind-icon">height</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#isvisible" class="tsd-kind-icon">is<wbr>Visible</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#localoffset" class="tsd-kind-icon">local<wbr>Offset</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#renderlayer" class="tsd-kind-icon">render<wbr>Layer</a></li>
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#transform" class="tsd-kind-icon">transform</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#updateorder" class="tsd-kind-icon">update<wbr>Order</a></li>
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#width" class="tsd-kind-icon">width</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#compareto" class="tsd-kind-icon">compare<wbr>To</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#debugrender" class="tsd-kind-icon">debug<wbr>Render</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#initialize" class="tsd-kind-icon">initialize</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#isvisiblefromcamera" class="tsd-kind-icon">is<wbr>Visible<wbr>From<wbr>Camera</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onaddedtoentity" class="tsd-kind-icon">on<wbr>Added<wbr>ToEntity</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onbecameinvisible" class="tsd-kind-icon">on<wbr>Became<wbr>Invisible</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onbecamevisible" class="tsd-kind-icon">on<wbr>Became<wbr>Visible</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#ondisabled" class="tsd-kind-icon">on<wbr>Disabled</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onenabled" class="tsd-kind-icon">on<wbr>Enabled</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onentitytransformchanged" class="tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#onremovedfromentity" class="tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#recalculatebounds" class="tsd-kind-icon">recalculate<wbr>Bounds</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_ecs_components_renderables_mesh_.es.mesh.html#render" class="tsd-kind-icon">render</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setcolor" class="tsd-kind-icon">set<wbr>Color</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setenabled" class="tsd-kind-icon">set<wbr>Enabled</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setlocaloffset" class="tsd-kind-icon">set<wbr>Local<wbr>Offset</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setrenderlayer" class="tsd-kind-icon">set<wbr>Render<wbr>Layer</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#settexture" class="tsd-kind-icon">set<wbr>Texture</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#settriangles" class="tsd-kind-icon">set<wbr>Triangles</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setupdateorder" class="tsd-kind-icon">set<wbr>Update<wbr>Order</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_ecs_components_renderables_mesh_.es.mesh.html#setvertpositions" class="tsd-kind-icon">set<wbr>Vert<wbr>Positions</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#sync" class="tsd-kind-icon">sync</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#tostring" class="tsd-kind-icon">to<wbr>String</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_renderables_mesh_.es.mesh.html#update" class="tsd-kind-icon">update</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">new <wbr>Mesh<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_mesh_.es.mesh.html" class="tsd-signature-type">Mesh</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L54">lib/egret.d.ts:54</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>创建一个 HashObject 对象</p>
</div>
<dl class="tsd-comment-tags">
<dt>version</dt>
<dd><p>Egret 2.4</p>
</dd>
<dt>platform</dt>
<dd><p>Web,Native</p>
</dd>
<dt>language</dt>
<dd><p>zh_CN</p>
</dd>
</dl>
</div>
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_renderables_mesh_.es.mesh.html" class="tsd-signature-type">Mesh</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private">
<a name="_hashcode" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagPrivate">Private</span> $hash<wbr>Code</h3>
<div class="tsd-signature tsd-kind-icon">$hash<wbr>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_core_.es.core.html">Core</a>.<a href="_ecs_core_.es.core.html#_hashcode">$hashCode</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L71">lib/egret.d.ts:71</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="_areboundsdirty" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _are<wbr>Bounds<wbr>Dirty</h3>
<div class="tsd-signature tsd-kind-icon">_are<wbr>Bounds<wbr>Dirty<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#_areboundsdirty">_areBoundsDirty</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L17">src/ECS/Components/Renderables/RenderableComponent.ts:17</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="_bounds" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _bounds</h3>
<div class="tsd-signature tsd-kind-icon">_bounds<span class="tsd-signature-symbol">:</span> <a href="_math_rectangle_.es.rectangle.html" class="tsd-signature-type">Rectangle</a><span class="tsd-signature-symbol"> = new Rectangle()</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#_bounds">_bounds</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L66">src/ECS/Components/Renderables/RenderableComponent.ts:66</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_height" class="tsd-anchor"></a>
<h3>_height</h3>
<div class="tsd-signature tsd-kind-icon">_height<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L21">src/ECS/Components/Renderables/Mesh.ts:21</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="_localoffset" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _local<wbr>Offset</h3>
<div class="tsd-signature tsd-kind-icon">_local<wbr>Offset<span class="tsd-signature-symbol">:</span> <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol"> = Vector2.zero</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#_localoffset">_localOffset</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L36">src/ECS/Components/Renderables/RenderableComponent.ts:36</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_primitivecount" class="tsd-anchor"></a>
<h3>_primitive<wbr>Count</h3>
<div class="tsd-signature tsd-kind-icon">_primitive<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L18">src/ECS/Components/Renderables/Mesh.ts:18</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="_renderlayer" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _render<wbr>Layer</h3>
<div class="tsd-signature tsd-kind-icon">_render<wbr>Layer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#_renderlayer">_renderLayer</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L53">src/ECS/Components/Renderables/RenderableComponent.ts:53</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_topleftvertposition" class="tsd-anchor"></a>
<h3>_top<wbr>Left<wbr>Vert<wbr>Position</h3>
<div class="tsd-signature tsd-kind-icon">_top<wbr>Left<wbr>Vert<wbr>Position<span class="tsd-signature-symbol">:</span> <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L19">src/ECS/Components/Renderables/Mesh.ts:19</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_triangles" class="tsd-anchor"></a>
<h3>_triangles</h3>
<div class="tsd-signature tsd-kind-icon">_triangles<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L22">src/ECS/Components/Renderables/Mesh.ts:22</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_verts" class="tsd-anchor"></a>
<h3>_verts</h3>
<div class="tsd-signature tsd-kind-icon">_verts<span class="tsd-signature-symbol">:</span> <a href="_ecs_components_renderables_mesh_.es.vertexpositioncolortexture.html" class="tsd-signature-type">VertexPositionColorTexture</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L23">src/ECS/Components/Renderables/Mesh.ts:23</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="_width" class="tsd-anchor"></a>
<h3>_width</h3>
<div class="tsd-signature tsd-kind-icon">_width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L20">src/ECS/Components/Renderables/Mesh.ts:20</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="color" class="tsd-anchor"></a>
<h3>color</h3>
<div class="tsd-signature tsd-kind-icon">color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#color">color</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L16">src/ECS/Components/Renderables/RenderableComponent.ts:16</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>用于着色器处理精灵</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="debugdisplayobject" class="tsd-anchor"></a>
<h3>debug<wbr>Display<wbr>Object</h3>
<div class="tsd-signature tsd-kind-icon">debug<wbr>Display<wbr>Object<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DisplayObjectContainer</span><span class="tsd-signature-symbol"> = new egret.DisplayObjectContainer()</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#debugdisplayobject">debugDisplayObject</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L22">src/ECS/Component.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>用于装载debug使用的显示容器</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="debugrenderenabled" class="tsd-anchor"></a>
<h3>debug<wbr>Render<wbr>Enabled</h3>
<div class="tsd-signature tsd-kind-icon">debug<wbr>Render<wbr>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#debugrenderenabled">debugRenderEnabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L35">src/ECS/Components/Renderables/RenderableComponent.ts:35</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite">
<a name="displayobject" class="tsd-anchor"></a>
<h3>display<wbr>Object</h3>
<div class="tsd-signature tsd-kind-icon">display<wbr>Object<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Mesh</span><span class="tsd-signature-symbol"> = new egret.Mesh()</span></div>
<aside class="tsd-sources">
<p>Overrides <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#displayobject">displayObject</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L7">src/ECS/Components/Renderables/Mesh.ts:7</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="entity" class="tsd-anchor"></a>
<h3>entity</h3>
<div class="tsd-signature tsd-kind-icon">entity<span class="tsd-signature-symbol">:</span> <a href="_ecs_entity_.es.entity.html" class="tsd-signature-type">Entity</a></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#entity">entity</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L14">src/ECS/Component.ts:14</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>此组件附加的实体</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="hashcode" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> hash<wbr>Code</h3>
<div class="tsd-signature tsd-kind-icon">hash<wbr>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_core_.es.core.html">Core</a>.<a href="_ecs_core_.es.core.html#hashcode">hashCode</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L84">lib/egret.d.ts:84</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>返回此对象唯一的哈希值,用于唯一确定一个对象。hashCode为大于等于1的整数。</p>
</div>
<dl class="tsd-comment-tags">
<dt>version</dt>
<dd><p>Egret 2.4</p>
</dd>
<dt>platform</dt>
<dd><p>Web,Native</p>
</dd>
<dt>language</dt>
<dd><p>zh_CN</p>
</dd>
</dl>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="hollowshape" class="tsd-anchor"></a>
<h3>hollow<wbr>Shape</h3>
<div class="tsd-signature tsd-kind-icon">hollow<wbr>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol"> = new egret.Shape()</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#hollowshape">hollowShape</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L11">src/ECS/Components/Renderables/RenderableComponent.ts:11</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="pixelshape" class="tsd-anchor"></a>
<h3>pixel<wbr>Shape</h3>
<div class="tsd-signature tsd-kind-icon">pixel<wbr>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol"> = new egret.Shape()</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#pixelshape">pixelShape</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L12">src/ECS/Components/Renderables/RenderableComponent.ts:12</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="updateinterval" class="tsd-anchor"></a>
<h3>update<wbr>Interval</h3>
<div class="tsd-signature tsd-kind-icon">update<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateinterval">updateInterval</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L18">src/ECS/Component.ts:18</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>更新该组件的时间间隔。这与实体的更新间隔无关。</p>
</div>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite">
<a name="bounds" class="tsd-anchor"></a>
<h3>bounds</h3>
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> bounds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_math_rectangle_.es.rectangle.html" class="tsd-signature-type">Rectangle</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Overrides <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#bounds">bounds</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L8">src/ECS/Components/Renderables/Mesh.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_math_rectangle_.es.rectangle.html" class="tsd-signature-type">Rectangle</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a name="enabled" class="tsd-anchor"></a>
<h3>enabled</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#enabled">enabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L36">src/ECS/Component.ts:36</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>如果组件和实体都已启用则为。当启用该组件时将调用该组件的生命周期方法。状态的改变会导致调用onEnabled/onDisable。</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#enabled">enabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L44">src/ECS/Component.ts:44</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>如果组件和实体都已启用则为。当启用该组件时将调用该组件的生命周期方法。状态的改变会导致调用onEnabled/onDisable。</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>value: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a name="height" class="tsd-anchor"></a>
<h3>height</h3>
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> height<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#height">height</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L31">src/ECS/Components/Renderables/RenderableComponent.ts:31</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>renderableComponent的高度
如果你不重写bounds属性则需要实现这个</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a name="isvisible" class="tsd-anchor"></a>
<h3>is<wbr>Visible</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> isVisible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> isVisible<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#isvisible">isVisible</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L86">src/ECS/Components/Renderables/RenderableComponent.ts:86</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>可渲染的可见性。状态的改变会调用onBecameVisible/onBecameInvisible方法</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#isvisible">isVisible</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L94">src/ECS/Components/Renderables/RenderableComponent.ts:94</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>可渲染的可见性。状态的改变会调用onBecameVisible/onBecameInvisible方法</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>value: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a name="localoffset" class="tsd-anchor"></a>
<h3>local<wbr>Offset</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> localOffset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></li>
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> localOffset<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#localoffset">localOffset</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L41">src/ECS/Components/Renderables/RenderableComponent.ts:41</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>从父实体的偏移量。用于向需要特定定位的实体</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#localoffset">localOffset</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L49">src/ECS/Components/Renderables/RenderableComponent.ts:49</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>从父实体的偏移量。用于向需要特定定位的实体</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>value: <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a name="renderlayer" class="tsd-anchor"></a>
<h3>render<wbr>Layer</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> renderLayer<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> renderLayer<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#renderlayer">renderLayer</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L58">src/ECS/Components/Renderables/RenderableComponent.ts:58</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>较低的渲染层在前面,较高的在后面</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#renderlayer">renderLayer</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L62">src/ECS/Components/Renderables/RenderableComponent.ts:62</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>较低的渲染层在前面,较高的在后面</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>value: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a name="transform" class="tsd-anchor"></a>
<h3>transform</h3>
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> transform<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_transform_.es.transform.html" class="tsd-signature-type">Transform</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#transform">transform</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L27">src/ECS/Component.ts:27</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>快速访问 this.entity.transform</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <a href="_ecs_transform_.es.transform.html" class="tsd-signature-type">Transform</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a name="updateorder" class="tsd-anchor"></a>
<h3>update<wbr>Order</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> updateOrder<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> updateOrder<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateorder">updateOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L51">src/ECS/Component.ts:51</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>更新此实体上组件的顺序</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateorder">updateOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L56">src/ECS/Component.ts:56</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>更新此实体上组件的顺序</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>value: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a name="width" class="tsd-anchor"></a>
<h3>width</h3>
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> width<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#width">width</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L23">src/ECS/Components/Renderables/RenderableComponent.ts:23</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>renderableComponent的宽度
如果你不重写bounds属性则需要实现这个</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="compareto" class="tsd-anchor"></a>
<h3>compare<wbr>To</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">compare<wbr>To<span class="tsd-signature-symbol">(</span>other<span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#compareto">compareTo</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L206">src/ECS/Components/Renderables/RenderableComponent.ts:206</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>other: <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<a name="debugrender" class="tsd-anchor"></a>
<h3>debug<wbr>Render</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">debug<wbr>Render<span class="tsd-signature-symbol">(</span>camera<span class="tsd-signature-symbol">: </span><a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html">IRenderable</a>.<a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html#debugrender">debugRender</a></p>
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#debugrender">debugRender</a></p>
<p>Overrides <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#debugrender">debugRender</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L115">src/ECS/Components/Renderables/RenderableComponent.ts:115</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>camera: <a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="initialize" class="tsd-anchor"></a>
<h3>initialize</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">initialize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#initialize">initialize</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L63">src/ECS/Component.ts:63</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当此组件已分配其实体,但尚未添加到实体的活动组件列表时调用。有用的东西,如物理组件,需要访问转换来修改碰撞体的属性。</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="isvisiblefromcamera" class="tsd-anchor"></a>
<h3>is<wbr>Visible<wbr>From<wbr>Camera</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">is<wbr>Visible<wbr>From<wbr>Camera<span class="tsd-signature-symbol">(</span>camera<span class="tsd-signature-symbol">: </span><a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html">IRenderable</a>.<a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html#isvisiblefromcamera">isVisibleFromCamera</a></p>
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#isvisiblefromcamera">isVisibleFromCamera</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L148">src/ECS/Components/Renderables/RenderableComponent.ts:148</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>如果renderableComponent的边界与camera.bounds相交 返回true
用于处理isVisible标志的状态开关
在渲染方法中使用这个方法来决定是否渲染</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>camera: <a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="onaddedtoentity" class="tsd-anchor"></a>
<h3>on<wbr>Added<wbr>ToEntity</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">on<wbr>Added<wbr>ToEntity<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onaddedtoentity">onAddedToEntity</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L69">src/ECS/Component.ts:69</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>在提交所有挂起的组件更改后,将该组件添加到场景时调用。此时,设置了实体字段和实体。场景也设定好了。</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="onbecameinvisible" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> on<wbr>Became<wbr>Invisible</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<li class="tsd-signature tsd-kind-icon">on<wbr>Became<wbr>Invisible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#onbecameinvisible">onBecameInvisible</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L227">src/ECS/Components/Renderables/RenderableComponent.ts:227</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当renderableComponent离开相机框架时调用
如果渲染器不适用isVisibleFromCamera进行剔除检查 这些方法不会被调用</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a name="onbecamevisible" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> on<wbr>Became<wbr>Visible</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<li class="tsd-signature tsd-kind-icon">on<wbr>Became<wbr>Visible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#onbecamevisible">onBecameVisible</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L218">src/ECS/Components/Renderables/RenderableComponent.ts:218</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当renderableComponent进入相机框架时调用
如果渲染器不适用isVisibleFromCamera进行剔除检查 这些方法不会被调用</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="ondisabled" class="tsd-anchor"></a>
<h3>on<wbr>Disabled</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">on<wbr>Disabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#ondisabled">onDisabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L100">src/ECS/Component.ts:100</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>禁用父实体或此组件时调用</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="onenabled" class="tsd-anchor"></a>
<h3>on<wbr>Enabled</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">on<wbr>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onenabled">onEnabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L94">src/ECS/Component.ts:94</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当父实体或此组件启用时调用</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<a name="onentitytransformchanged" class="tsd-anchor"></a>
<h3>on<wbr>Entity<wbr>Transform<wbr>Changed</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed<span class="tsd-signature-symbol">(</span>comp<span class="tsd-signature-symbol">: </span><a href="../enums/_ecs_transform_.transform.component.html" class="tsd-signature-type">Component</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#onentitytransformchanged">onEntityTransformChanged</a></p>
<p>Overrides <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onentitytransformchanged">onEntityTransformChanged</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L105">src/ECS/Components/Renderables/RenderableComponent.ts:105</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>comp: <a href="../enums/_ecs_transform_.transform.component.html" class="tsd-signature-type">Component</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="onremovedfromentity" class="tsd-anchor"></a>
<h3>on<wbr>Removed<wbr>From<wbr>Entity</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onremovedfromentity">onRemovedFromEntity</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L75">src/ECS/Component.ts:75</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当此组件从其实体中移除时调用。在这里做所有的清理工作。</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="recalculatebounds" class="tsd-anchor"></a>
<h3>recalculate<wbr>Bounds</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">recalculate<wbr>Bounds<span class="tsd-signature-symbol">(</span>recalculateUVs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L29">src/ECS/Components/Renderables/Mesh.ts:29</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>重新计算边界和可选地设置uv。设置uv以最适合的方式映射纹理。</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>recalculateUVs: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
<a name="render" class="tsd-anchor"></a>
<h3>render</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
<li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span>camera<span class="tsd-signature-symbol">: </span><a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html">IRenderable</a>.<a href="../interfaces/_graphics_renderers_irenderable_.es.irenderable.html#render">render</a></p>
<p>Overrides <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#render">render</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L94">src/ECS/Components/Renderables/Mesh.ts:94</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>camera: <a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="setcolor" class="tsd-anchor"></a>
<h3>set<wbr>Color</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">set<wbr>Color<span class="tsd-signature-symbol">(</span>color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#setcolor">setColor</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L178">src/ECS/Components/Renderables/RenderableComponent.ts:178</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>用于着色器处理精灵</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>color: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="setenabled" class="tsd-anchor"></a>
<h3>set<wbr>Enabled</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">set<wbr>Enabled<span class="tsd-signature-symbol">(</span>isEnabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#setenabled">setEnabled</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L109">src/ECS/Component.ts:109</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>isEnabled: <span class="tsd-signature-type">boolean</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="setlocaloffset" class="tsd-anchor"></a>
<h3>set<wbr>Local<wbr>Offset</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">set<wbr>Local<wbr>Offset<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#setlocaloffset">setLocalOffset</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L187">src/ECS/Components/Renderables/RenderableComponent.ts:187</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>从父实体的偏移量。用于向需要特定定位的实体</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>offset: <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="setrenderlayer" class="tsd-anchor"></a>
<h3>set<wbr>Render<wbr>Layer</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">set<wbr>Render<wbr>Layer<span class="tsd-signature-symbol">(</span>renderLayer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#setrenderlayer">setRenderLayer</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L160">src/ECS/Components/Renderables/RenderableComponent.ts:160</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>较低的渲染层在前面,较高的在后面</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>renderLayer: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html" class="tsd-signature-type">RenderableComponent</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="settexture" class="tsd-anchor"></a>
<h3>set<wbr>Texture</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Texture<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Texture</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_renderables_mesh_.es.mesh.html" class="tsd-signature-type">Mesh</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L58">src/ECS/Components/Renderables/Mesh.ts:58</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>设置纹理。传入null来取消纹理设置。</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>texture: <span class="tsd-signature-type">Texture</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_renderables_mesh_.es.mesh.html" class="tsd-signature-type">Mesh</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="settriangles" class="tsd-anchor"></a>
<h3>set<wbr>Triangles</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Triangles<span class="tsd-signature-symbol">(</span>triangles<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L83">src/ECS/Components/Renderables/Mesh.ts:83</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>设置渲染的三角形索引</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>triangles: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="setupdateorder" class="tsd-anchor"></a>
<h3>set<wbr>Update<wbr>Order</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">set<wbr>Update<wbr>Order<span class="tsd-signature-symbol">(</span>updateOrder<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#setupdateorder">setUpdateOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L123">src/ECS/Component.ts:123</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>updateOrder: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="setvertpositions" class="tsd-anchor"></a>
<h3>set<wbr>Vert<wbr>Positions</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Vert<wbr>Positions<span class="tsd-signature-symbol">(</span>positions<span class="tsd-signature-symbol">: </span><a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/Mesh.ts#L67">src/ECS/Components/Renderables/Mesh.ts:67</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>设置vert位置。如果position数组与vert数组大小不匹配则将重新创建vert数组。</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>positions: <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="sync" class="tsd-anchor"></a>
<h3>sync</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">sync<span class="tsd-signature-symbol">(</span>camera<span class="tsd-signature-symbol">: </span><a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#sync">sync</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L198">src/ECS/Components/Renderables/RenderableComponent.ts:198</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>进行状态同步</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>camera: <a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="tostring" class="tsd-anchor"></a>
<h3>to<wbr>String</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">to<wbr>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html">RenderableComponent</a>.<a href="_ecs_components_renderables_renderablecomponent_.es.renderablecomponent.html#tostring">toString</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Renderables/RenderableComponent.ts#L210">src/ECS/Components/Renderables/RenderableComponent.ts:210</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a name="update" class="tsd-anchor"></a>
<h3>update</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#update">update</a></p>
<ul>
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L106">src/ECS/Component.ts:106</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>当该组件启用时每帧进行调用</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class="current tsd-kind-module">
<a href="../modules/_ecs_components_renderables_mesh_.html">&quot;ECS/<wbr>Components/<wbr>Renderables/<wbr>Mesh&quot;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module">
<a href="../modules/_ecs_components_renderables_mesh_.es.html">es</a>
</li>
</ul>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-namespace">
<a href="_ecs_components_renderables_mesh_.es.mesh.html" class="tsd-kind-icon">Mesh</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_hashcode" class="tsd-kind-icon">$hash<wbr>Code</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_areboundsdirty" class="tsd-kind-icon">_are<wbr>Bounds<wbr>Dirty</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_bounds" class="tsd-kind-icon">_bounds</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_height" class="tsd-kind-icon">_height</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_localoffset" class="tsd-kind-icon">_local<wbr>Offset</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_primitivecount" class="tsd-kind-icon">_primitive<wbr>Count</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_renderlayer" class="tsd-kind-icon">_render<wbr>Layer</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_topleftvertposition" class="tsd-kind-icon">_top<wbr>Left<wbr>Vert<wbr>Position</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_triangles" class="tsd-kind-icon">_triangles</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_verts" class="tsd-kind-icon">_verts</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#_width" class="tsd-kind-icon">_width</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#color" class="tsd-kind-icon">color</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#debugdisplayobject" class="tsd-kind-icon">debug<wbr>Display<wbr>Object</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#debugrenderenabled" class="tsd-kind-icon">debug<wbr>Render<wbr>Enabled</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-overwrite">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#displayobject" class="tsd-kind-icon">display<wbr>Object</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#entity" class="tsd-kind-icon">entity</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#hashcode" class="tsd-kind-icon">hash<wbr>Code</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#hollowshape" class="tsd-kind-icon">hollow<wbr>Shape</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#pixelshape" class="tsd-kind-icon">pixel<wbr>Shape</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#updateinterval" class="tsd-kind-icon">update<wbr>Interval</a>
</li>
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#bounds" class="tsd-kind-icon">bounds</a>
</li>
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#enabled" class="tsd-kind-icon">enabled</a>
</li>
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#height" class="tsd-kind-icon">height</a>
</li>
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#isvisible" class="tsd-kind-icon">is<wbr>Visible</a>
</li>
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#localoffset" class="tsd-kind-icon">local<wbr>Offset</a>
</li>
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#renderlayer" class="tsd-kind-icon">render<wbr>Layer</a>
</li>
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#transform" class="tsd-kind-icon">transform</a>
</li>
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#updateorder" class="tsd-kind-icon">update<wbr>Order</a>
</li>
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#width" class="tsd-kind-icon">width</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#compareto" class="tsd-kind-icon">compare<wbr>To</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#debugrender" class="tsd-kind-icon">debug<wbr>Render</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#initialize" class="tsd-kind-icon">initialize</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#isvisiblefromcamera" class="tsd-kind-icon">is<wbr>Visible<wbr>From<wbr>Camera</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onaddedtoentity" class="tsd-kind-icon">on<wbr>Added<wbr>ToEntity</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onbecameinvisible" class="tsd-kind-icon">on<wbr>Became<wbr>Invisible</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onbecamevisible" class="tsd-kind-icon">on<wbr>Became<wbr>Visible</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#ondisabled" class="tsd-kind-icon">on<wbr>Disabled</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onenabled" class="tsd-kind-icon">on<wbr>Enabled</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onentitytransformchanged" class="tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#onremovedfromentity" class="tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#recalculatebounds" class="tsd-kind-icon">recalculate<wbr>Bounds</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#render" class="tsd-kind-icon">render</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setcolor" class="tsd-kind-icon">set<wbr>Color</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setenabled" class="tsd-kind-icon">set<wbr>Enabled</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setlocaloffset" class="tsd-kind-icon">set<wbr>Local<wbr>Offset</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setrenderlayer" class="tsd-kind-icon">set<wbr>Render<wbr>Layer</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#settexture" class="tsd-kind-icon">set<wbr>Texture</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#settriangles" class="tsd-kind-icon">set<wbr>Triangles</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setupdateorder" class="tsd-kind-icon">set<wbr>Update<wbr>Order</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#setvertpositions" class="tsd-kind-icon">set<wbr>Vert<wbr>Positions</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#sync" class="tsd-kind-icon">sync</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#tostring" class="tsd-kind-icon">to<wbr>String</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<a href="_ecs_components_renderables_mesh_.es.mesh.html#update" class="tsd-kind-icon">update</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-class tsd-parent-kind-namespace">
<a href="_ecs_components_renderables_mesh_.es.vertexpositioncolortexture.html" class="tsd-kind-icon">Vertex<wbr>Position<wbr>Color<wbr>Texture</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>