1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
import{_ as a,c as r,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: removeLayer()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/layers/functions/removeLayer.md","filePath":"api/game/layers/functions/removeLayer.md","lastUpdated":null}'),n={name:"api/game/layers/functions/removeLayer.md"};function s(i,e,l,c,d,m){return o(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">game/layers</a> / removeLayer</p><h1 id="function-removelayer" tabindex="-1">Function: removeLayer() <a class="header-anchor" href="#function-removelayer" aria-label="Permalink to "Function: removeLayer()""></a></h1><blockquote><p><strong>removeLayer</strong>(<code>layer</code>): <code>void</code></p></blockquote><p>Disables a layer, so it will no longer be updated every tick. Note that accessing a layer/its properties does NOT require it to be enabled.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="layer" tabindex="-1">layer <a class="header-anchor" href="#layer" aria-label="Permalink to "layer""></a></h3><p><a href="./../interfaces/Layer"><code>Layer</code></a></p><p>The layer to remove.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>void</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/layers.tsx#L347" target="_blank" rel="noreferrer">profectus/src/game/layers.tsx:347</a></p>',12)]))}const h=a(n,[["render",s]]);export{u as __pageData,h as default};
|