Click or drag to resize
DigitalRuneRenderToTextureTextureMatrix Property
Gets the texture matrix.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Matrix44F TextureMatrix { get; }

Property Value

Type: Matrix44F
The texture matrix.
Remarks

This matrix is set automatically.

When the target Texture is a 2D render target, this matrix represents a projective texturing matrix. It transforms world space positions to texture space.

When the target Texture is a cube map render target, this matrix represents the orientation of the cube map. It transforms world space directions to texture space. Usually, the cube map will be aligned with the world space axes, and this matrix will be the identity matrix.

See Also