Struct SphericalHarmonicsL2
Assembly: UnityEngine.dll
Syntax
public struct SphericalHarmonicsL2 : IEquatable<SphericalHarmonicsL2>
Properties
|
Improve this Doc
View Source
Item[Int32, Int32]
Declaration
public float this[int rgb, int coefficient] { get; set; }
Parameters
Property Value
Methods
AddAmbientLight(Color)
Declaration
public void AddAmbientLight(Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
|
Improve this Doc
View Source
AddDirectionalLight(Vector3, Color, Single)
Declaration
public void AddDirectionalLight(Vector3 direction, Color color, float intensity)
Parameters
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(SphericalHarmonicsL2)
Declaration
public bool Equals(SphericalHarmonicsL2 other)
Parameters
Returns
|
Improve this Doc
View Source
Evaluate(Vector3[], Color[])
Declaration
public void Evaluate(Vector3[] directions, Color[] results)
Parameters
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Addition(SphericalHarmonicsL2, SphericalHarmonicsL2)
Declaration
public static SphericalHarmonicsL2 operator +(SphericalHarmonicsL2 lhs, SphericalHarmonicsL2 rhs)
Parameters
Returns
|
Improve this Doc
View Source
Equality(SphericalHarmonicsL2, SphericalHarmonicsL2)
Declaration
public static bool operator ==(SphericalHarmonicsL2 lhs, SphericalHarmonicsL2 rhs)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(SphericalHarmonicsL2, SphericalHarmonicsL2)
Declaration
public static bool operator !=(SphericalHarmonicsL2 lhs, SphericalHarmonicsL2 rhs)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Single, SphericalHarmonicsL2)
Declaration
public static SphericalHarmonicsL2 operator *(float lhs, SphericalHarmonicsL2 rhs)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(SphericalHarmonicsL2, Single)
Declaration
public static SphericalHarmonicsL2 operator *(SphericalHarmonicsL2 lhs, float rhs)
Parameters
Returns
Implements
Extension Methods