SphericalHarmonics Class (Microsoft.DirectX.Direct3D)

Encapsulates spherical harmonic (SH) mathematical functions.

Definition

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

Members Table

The following table lists the members exposed by the object.

Fields

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.

Methods

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

ObjectLeave 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