SphericalHarmonics Class (Microsoft.DirectX.Direct3D)
Encapsulates spherical harmonic (SH) mathematical functions.
Definition
Visual Basic NotInheritable MustInherit Public Class SphericalHarmonics
Inherits ObjectC# public abstract sealed class SphericalHarmonics : Object C++ public ref class SphericalHarmonics abstract sealed : Object JScript public final abstract class SphericalHarmonics extends Object
Members Table
The following table lists the members exposed by the object.
Fields
Field Description MaximumOrder Retrieves the maximum order for SH evaluation. MinimumOrder Retrieves the minimum order for SH evaluation. Methods
Method Description Add Adds two SH vectors together; in other words, Out[i] = A[i] + B[i]. Dot Computes the dot product of two SH vectors. EvaluateConeLight Evaluates a light that is a cone of constant intensity and returns spectral SH data. EvaluateDirection Evaluates the SH basis functions from an input direction vector. EvaluateDirectionalLight Evaluates a directional light and returns spectral SH data. EvaluateHemisphereLight Evaluates a light that is a linear interpolation between two colors over the sphere. EvaluateSphericalLight Evaluates a spherical light and returns spectral SH data. ProjectCubeMap Projects a function represented on a cube map into SH. Rotate Rotates the SH vector by the given matrix. RotateZ Rotates the SH vector in the z-axis by the given angle. Scale Scales a spherical harmonic (SH) vector, in other words, Out[i] = A[i] * Scale.
Inheritance Hierarchy
SphericalHarmonics
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492