snapshot
R2026bSyntax
Description
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
renders the mesh or scene object img = snapshot(meshORsceneObj)meshORsceneObj and returns an RGB
image img.
renders the mesh or scene object img = snapshot(meshORsceneObj,filename)meshORsceneObj, writes the image to
filename, and returns an RGB image img.
___ = snapshot(___, specifies
additional options using one or more name-value arguments. For example,
Name=Value)ImageSize=[768 1024] renders the image at the specified
resolution.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2026b
