C# Class UnityEngine.Rendering.SphericalHarmonicsL2

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddAmbientLight() public method

Add ambient lighting to probe data.

public AddAmbientLight ( Color color ) : void
color Color
return void

AddDirectionalLight() public method

Add directional light to probe data.

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

Clear() public method

Clears SH probe to zero.

public Clear ( ) : void
return void

Equals() public method

public Equals ( object other ) : bool
other object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : SphericalHarmonicsL2
return SphericalHarmonicsL2

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int rgb, int coefficient ) : float
rgb int
coefficient int
return float