<Experimental.Null>
The API may change in any version. Monitor this documentation page to see breaking changes when upgrading.
This is a special component, that, when rendered, will skip rendering the frame altogether.
You can render it when you are sure that the frame is empty and save rendering time.
EmptyFrame.tsxtsx
import {AbsoluteFill ,Experimental } from "remotion";export constMyComp :React .FC = () => {return (<AbsoluteFill ><Experimental .Null /><div >This will not be rendered</div ></AbsoluteFill >);};
EmptyFrame.tsxtsx
import {AbsoluteFill ,Experimental } from "remotion";export constMyComp :React .FC = () => {return (<AbsoluteFill ><Experimental .Null /><div >This will not be rendered</div ></AbsoluteFill >);};
Rules
{""}
component will disappear.
imageFormat
is jpeg
, a black frame will be generated, if the imageFormat
is png
, a transparent frame will be generated.