| SkyboxRendererRender Method |
Renders a skybox.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Render(
TextureCube texture,
Matrix33F orientation,
float exposure,
RenderContext context
)
Public Sub Render (
texture As TextureCube,
orientation As Matrix33F,
exposure As Single,
context As RenderContext
)
public:
void Render(
TextureCube^ texture,
Matrix33F orientation,
float exposure,
RenderContext^ context
)
member Render :
texture : TextureCube *
orientation : Matrix33F *
exposure : float32 *
context : RenderContext -> unit
Parameters
- texture
- Type: TextureCube
The cube map with the sky texture. - orientation
- Type: DigitalRune.Mathematics.AlgebraMatrix33F
The orientation of the skybox. - exposure
- Type: SystemSingle
The exposure factor that is multiplied to the cube map values to change the brightness.
(Usually 1 or higher). - context
- Type: DigitalRune.GraphicsRenderContext
The render context. (CameraNode needs to be set.)
Exceptions See Also