SphericalHarmonics.Rotate Method |
Language: |
Rotates the spherical harmonic (SH) vector by the given matrix.
Visual Basic Public Shared Sub Rotate( _
ByVal output As GraphicsStream, _
ByVal order As Integer, _
ByVal rotation As Matrix, _
ByVal input As GraphicsStream _
)C# public static void Rotate(
GraphicsStream output,
int order,
Matrix rotation,
GraphicsStream input
);C++ public:
static void Rotate(
GraphicsStream^ output,
int order,
Matrix rotation,
GraphicsStream^ input
);JScript public static function Rotate(
output : GraphicsStream,
order : int,
rotation : Matrix,
input : GraphicsStream
);
output Microsoft.DirectX.GraphicsStream
A GraphicsStream object that represents SH output coefficients.order System.Int32
Order of the SH evaluation. Must be in the range of SphericalHarmonics.MinimumOrder to SphericalHarmonics.MaximumOrder, inclusive. The evaluation generates order2 coefficients. The degree of the evaluation is order - 1.rotation Microsoft.DirectX.Matrix
The rotation Matrix. The rotation sub-matrix must be orthogonal, with a unit determinant.input Microsoft.DirectX.GraphicsStream
A GraphicsStream object that represents rotated SH coefficients.
Each coefficient of the basis function Ylm is stored at location l2 + m + l, where:
- l is the degree of the basis function.
- m is the basis function index for the given l value and ranges from -l to l, inclusive.
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