Unit CastleRenderingCamera

Description

Current rendering camera (TRenderingCamera).

This is mostly an internal unit, normal applications should not access camera this way (instead use TCastleAbstractViewport.Camera). However, there are some valid uses for it (like querying TRenderingCamera.Target to selectively hide some stuff).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCameraChangedEventList  
Class TRenderingCamera Current camera used for rendering, almost always accessed using RenderingCamera singleton.

Types

TCameraChangedEvent = procedure ( const RenderingCamera: TRenderingCamera; Viewpoint: TAbstractViewpointNode) of object;
TRenderTarget = (...);

Variables

RenderingCamera: TRenderingCamera;

Description

Types

TCameraChangedEvent = procedure ( const RenderingCamera: TRenderingCamera; Viewpoint: TAbstractViewpointNode) of object;
 
TRenderTarget = (...);
 
Values
  • rtScreen: Normal rendering.
  • rfOffScreen: Rendering color buffer contents to normal single 2D texture.
  • rtCubeMapEnvironment: Rendering color buffer contents to cube map texture.
  • rtShadowMap: Rendering depth buffer contents to shadow map texture.
  • rtVarianceShadowMap: Rendering with a special VSM shader to capture shadow map texture (in the normal color buffer).

Variables

RenderingCamera: TRenderingCamera;

Current camera used for rendering.

This is an internal information, normal applications should not access camera this way (instead use TCastleAbstractViewport.Camera).


Generated by PasDoc 0.15.0.