Documentation

Unity Engine

Unity Engine

VisualElementCaptureEditorExtensions

Use these extension methods to save the rendered visual content of a VisualElement to disk.
Read time 1 minuteLast updated 2 months ago

Definition

public static class VisualElementCaptureEditorExtensions

Static Methods

Method

Description

CaptureToPNGRenders the element's panel, captures the visual content of
element
, and saves it to disk as a PNG file.