Main Content

capture

Class: vr.canvas

(To be removed) Capture virtual reality canvas image

vr.canvas.capture will be removed in a future release. For more information, see Version History.

Syntax

image_capture = capture(canvas)

Description

image_capture = capture(canvas) captures a virtual reality canvas into a TrueColor RGB image. You can display this image using the image command.

Input Arguments

expand all

Virtual reality canvas, specified as a vr.canvas object.

Output Arguments

expand all

Virtual reality canvas image, captured as an array. The array is an m-by-n-by-3 data array that defines red, green, and blue color components for each individual pixel.

Version History

Introduced before R2006a

collapse all

See Also

|