Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

SortingLayer.IDToName

public static string IDToName(int id);

Parameters

idThe unique id of the layer.

Returns

string The name of the layer with id or "<unknown layer>" for invalid id.

Description

Returns the unique id of the layer. Will return "<unknown layer>" if an invalid id is given.

Did you find this page useful? Please give it a rating: