Skip to main content

Camera

type Camera = {
renderGraphRef: AssetRef<RenderGraph>;
renderTargetIndex: Int32;
dataJSON: RenderGraphDataObject;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:116

Virtual camera.

Type declaration

NameTypeDescription
renderGraphRefAssetRef<RenderGraph>UUID of the referenced render graph this camera should use.
renderTargetIndexInt32Index of the render target to blit.
dataJSONRenderGraphDataObjectInput values as described in the referenced render graph in their original JSON format.