scene.Canvas
self) scene.Canvas(
A class to handle canvas and render settings in Blender.
This class provides properties to get and set various render settings like resolution, render engine, samples, FPS, and frame ranges.
Attributes
Name | Description |
---|---|
fps | Get the frames per second setting. |
frame_end | Get the end frame of the animation. |
frame_start | Get the start frame of the animation. |
render_engine | The current render engine for the scene. |
resolution | Get the render resolution. |
samples_cycles | Get the number of samples for Cycles render engine. |
samples_eevee | Get the number of samples for Eevee render engine. |
Methods
Name | Description |
---|---|
resoution | Set the render resolution. |
resoution
scene.Canvas.resoution(value)
Set the render resolution.
Parameters
Name | Type | Description | Default |
---|---|---|---|
value | tuple[int, int] | A tuple containing the x and y resolution values. | required |