Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Sampler.name

public string name;

Description

Sampler name. (Read Only)

Data generated by the Sampler is labeled with this name in the Profiler window.

Note: If Sampler is invalid name returns null or empty string.