The SceneRenderingWidget class in the Editor
namespace is designed to render a scene to a native widget, effectively replacing the NativeRenderingWidget
. It provides properties and methods to manage and interact with the scene rendering process.
The SceneRenderingWidget class in the Editor
namespace is designed to render a scene to a native widget, effectively replacing the NativeRenderingWidget
. It provides properties and methods to manage and interact with the scene rendering process.
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 used in the scene. |
CursorRay | Return a ray for the current cursor position. |
PreFrame | Prepares the frame before rendering. |
GetRay | Returns a ray from a given local position. |