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

    Interface CameraFrameEffectScene

    interface CameraFrameEffectScene {
        height: number;
        texture: Texture;
        width: number;
    }
    Index
    height: number

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

    texture: Texture

    The scene color. An effect resolving the scene reads this as its input, and sets it to the texture its passes render to this frame.

    width: number

    The width of the scene color this frame, in pixels. Its texture can still have the size of the previous frame - see CameraFrameEffectContext. An effect resolving the scene to another resolution sets this, and the height, to that resolution.