Engine API Reference - v2.24.0-beta.10
    Preparing search index...

    Interface CameraFrameEffectContext

    interface CameraFrameEffectContext {
        renderHeight: number;
        renderWidth: number;
        sceneHeight: number;
        sceneTexture: Texture;
        sceneWidth: number;
    }
    Index
    renderHeight: number

    The height the scene renders at this frame, in pixels.

    renderWidth: number

    The width the scene renders at this frame, in pixels - the size of the scene render target, which the passes rendering into the scene have.

    sceneHeight: number

    The height of the scene texture this frame, in pixels.

    sceneTexture: Texture

    The scene color the composition reads this frame, once it is resolved: the output of the temporal anti-aliasing when it is enabled, which alternates between two textures from frame to frame, and the scene render target's color otherwise.

    sceneWidth: number

    The width of the scene texture this frame, in pixels. It is the width the scene renders at, unless the scene is resolved to another resolution, as the temporal anti-aliasing does when it upscales.