Interface Render3dTextureOptions

interface Render3dTextureOptions {
    autoDisposeApp?: boolean;
    camera?: Camera;
    depth?: boolean;
    height?: number;
    renderCount?: number;
    renderInterval?: number;
    scene?: Scene;
    width?: number;
}

Hierarchy

  • FBOSettings
    • Render3dTextureOptions

Properties

autoDisposeApp?: boolean

如果是离屏渲染app时,销毁时是否自动销毁app对象 默认true

camera?: Camera

相机

depth?: boolean

If set, the scene depth will be rendered into buffer.depthTexture. Default: false

height?: number

纹理高度(默认1024)像素,需要乘pixelRatio

renderCount?: number

渲染次数 为0时表示无限

renderInterval?: number

渲染间隔帧数 为0时表示不跳帧

scene?: Scene

要渲染的场景

width?: number

纹理宽度(默认1024)像素,需要乘pixelRatio