highlight.removeMesh

Section: Glow / Highlight

What it does

highlight.removeMesh removes Mesh on a highlight object. It takes id.

Signature

highlight.removeMesh(id)

Arguments

  • id

Example · generated

function start() {  highlight.removeMesh('main');}

highlight.removeMesh is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.

4 members in highlight