The SceneRenderingWidget class in the Editor
namespace is designed to render a scene to a native widget. It serves as a replacement for the NativeRenderingWidget
.
The SceneRenderingWidget class in the Editor
namespace is designed to render a scene to a native widget. It serves as a replacement for the NativeRenderingWidget
.
Member Name | Summary |
---|---|
Scene | The active scene that we're rendering. |
Camera | The camera to render from. We will fallback to Scene.Camera if this is null. |
GizmoInstance | Instance of the Gizmo associated with the widget. |
CursorRay | Return a ray for the current cursor position. |
PreFrame | Prepares the frame before rendering. |
GetRay | Returns a ray from a given local position. |