Version: 2023.2

Viewpoint<T0>.CreateVisualElement

切换到手册
public UIElements.VisualElement CreateVisualElement ();

返回

VisualElement The VisualElement to attach to the Cameras Overlay when the associated camera is active.

描述

CreateVisualElement is called when a Viewpoint is selected in the Cameras Overlay.

Viewpoint sends visual information directly on to the Cameras overlay. Provide a reference of an instance of VisualElement and it attaches underneath the Cameras overlay toolbar when a Camera is being looked through.