UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

24 lines (23 loc) 1.02 kB
import type { Scene, FrameGraph } from "../../../../index.js"; import { NodeRenderGraphBaseObjectRendererBlock } from "./baseObjectRendererBlock.js"; /** * Block that render objects to a render target */ export declare class NodeRenderGraphObjectRendererBlock extends NodeRenderGraphBaseObjectRendererBlock { /** * Create a new NodeRenderGraphObjectRendererBlock * @param name defines the block name * @param frameGraph defines the hosting frame graph * @param scene defines the hosting scene * @param doNotChangeAspectRatio True (default) to not change the aspect ratio of the scene in the RTT */ constructor(name: string, frameGraph: FrameGraph, scene: Scene, doNotChangeAspectRatio?: boolean); /** True (default) to not change the aspect ratio of the scene in the RTT */ get doNotChangeAspectRatio(): boolean; set doNotChangeAspectRatio(value: boolean); /** * Gets the current class name * @returns the class name */ getClassName(): string; }