Capture the screen image to a file or texture
| <viz:window>.screenCapture( | |
| filename |
)
filename
Specifies the file name or texture object to save the current screen to.
Use this command to save a copy of the current graphic screen to a file. This can be used to automate the creation of a sequence of images that are later compiled into a movie.
NOTE: The image is not generated immediately. Vizard must wait until the next frame is rendered before it can capture the image.
None
Capturing to image file:
Capturing to texture: