Oneditormeshclicked

ScriptComponent.onEditorMeshClicked() method

Invoked when the user clicks on a mesh in the editor

Signature:

onEditorMeshClicked(mesh: Mesh, intersect: Intersection<Mesh>): void;

Parameters

Parameter

Type

Description

mesh

Mesh

intersect

Intersection<Mesh>

**Returns:**

void