sim3d.io.VideoWriter
Description
Use the sim3d.io.VideoWriter
object to capture a 3D simulation as a
video file. After you create a sim3d.io.VideoWriter
object, you can modify aspects
of the object by setting property values. The sim3d.io.VideoWriter
object uses the
VideoWriter
object internally to write video files. You can also set specific
properties of the video file using the properties of the VideoWriter
object.
Creation
Description
creates a
default video
= sim3d.io.VideoWriter()VideoWriter
object and captures a 3D simulation as video files
with one frame per step.
specifies options using one or more name-value arguments. For example, to record the
simulation for 10 seconds, set video
= sim3d.io.VideoWriter(Name=Value
)Interval
to [0
10]
.
Name-Value Arguments
Output Arguments
Properties
Examples
Version History
Introduced in R2025a