profectus-docs/assets/api_game_layers_functions_removeLayer.md.BhoTOo3p.js

1 line
1.9 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 &quot;Function: removeLayer()&quot;"></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 &quot;Parameters&quot;"></a></h2><h3 id="layer" tabindex="-1">layer <a class="header-anchor" href="#layer" aria-label="Permalink to &quot;layer&quot;"></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 &quot;Returns&quot;"></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 &quot;Defined in&quot;"></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};