Interface FrameCaptureOptions

Frame capture options

FrameCaptureOptions

2024.7.9

yisky

interface FrameCaptureOptions {
    captureDepth?: boolean;
    captureStencil?: boolean;
    height?: number;
    width?: number;
}

Properties

captureDepth?: boolean

Whether capture depth buffer, default is false.

FrameCaptureOptions

captureStencil?: boolean

Whether capture stencil buffer, default is false.

FrameCaptureOptions

height?: number

Capture output height in pixel, default same as camera render viewport's height.

FrameCaptureOptions

width?: number

Capture output width in pixel, default same as camera render viewport's width.

FrameCaptureOptions