LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

SphericalHarmonicsL2.this[int,int]

public float this[int,int];

Description

Access individual SH coefficients.

This accesses the SH coefficient with a given RGB color channel (0..2) and index (0..8).