SphericalHarmonics Class

Language:

Encapsulates spherical harmonic (SH) mathematical functions.

Definition

Visual Basic NotInheritable MustInherit Public Class SphericalHarmonics
    Inherits Object
C# public abstract sealed class SphericalHarmonics : Object
C++ public ref class SphericalHarmonics abstract sealed : Object
JScript public final abstract class SphericalHarmonics extends Object

Members Table

Field Description
static (Shared in Visual Basic) MaximumOrder Retrieves the maximum order for SH evaluation.
static (Shared in Visual Basic) MinimumOrder Retrieves the minimum order for SH evaluation.
Method Description
static (Shared in Visual Basic) Add Adds two SH vectors together; in other words, Out[i] = A[i] + B[i].
static (Shared in Visual Basic) Dot Computes the dot product of two SH vectors.
static (Shared in Visual Basic) EvaluateConeLight Evaluates a light that is a cone of constant intensity and returns spectral SH data.
static (Shared in Visual Basic) EvaluateDirection Evaluates the SH basis functions from an input direction vector.
static (Shared in Visual Basic) EvaluateDirectionalLight Evaluates a directional light and returns spectral SH data.
static (Shared in Visual Basic) EvaluateHemisphereLight Evaluates a light that is a linear interpolation between two colors over the sphere.
static (Shared in Visual Basic) EvaluateSphericalLight Evaluates a spherical light and returns spectral SH data.
static (Shared in Visual Basic) ProjectCubeMap Projects a function represented on a cube map into SH.
static (Shared in Visual Basic) Rotate Rotates the SH vector by the given matrix.
static (Shared in Visual Basic) RotateZ Rotates the SH vector in the z-axis by the given angle.
static (Shared in Visual Basic) Scale Scales a spherical harmonic (SH) vector, in other words, Out[i] = A[i] * Scale.

Inheritance Hierarchy

Object Leave Site
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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center