C# Класс UnityEngine.Rendering.SphericalHarmonicsL2

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAmbientLight ( Color color ) : void

Add ambient lighting to probe data.

AddDirectionalLight ( Vector3 direction, Color color, float intensity ) : void

Add directional light to probe data.

Clear ( ) : void

Clears SH probe to zero.

Equals ( object other ) : bool
GetHashCode ( ) : int
operator ( ) : SphericalHarmonicsL2
operator ( ) : bool
this ( int rgb, int coefficient ) : float

Приватные методы

Метод Описание
AddAmbientLightInternal ( Color color, SphericalHarmonicsL2 &sh ) : void
AddDirectionalLightInternal ( Vector3 direction, Color color, SphericalHarmonicsL2 &sh ) : void
ClearInternal ( SphericalHarmonicsL2 &sh ) : void
INTERNAL_CALL_AddAmbientLightInternal ( Color &color, SphericalHarmonicsL2 &sh ) : void
INTERNAL_CALL_AddDirectionalLightInternal ( Vector3 &direction, Color &color, SphericalHarmonicsL2 &sh ) : void
INTERNAL_CALL_ClearInternal ( SphericalHarmonicsL2 &sh ) : void

Описание методов

AddAmbientLight() публичный Метод

Add ambient lighting to probe data.

public AddAmbientLight ( Color color ) : void
color Color
Результат void

AddDirectionalLight() публичный Метод

Add directional light to probe data.

public AddDirectionalLight ( Vector3 direction, Color color, float intensity ) : void
direction Vector3
color Color
intensity float
Результат void

Clear() публичный Метод

Clears SH probe to zero.

public Clear ( ) : void
Результат void

Equals() публичный Метод

public Equals ( object other ) : bool
other object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

operator() публичный статический Метод

public static operator ( ) : SphericalHarmonicsL2
Результат SphericalHarmonicsL2

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

this() публичный Метод

public this ( int rgb, int coefficient ) : float
rgb int
coefficient int
Результат float