class
SceneRenderingWidget
public class SceneRenderingWidget : Frame Render a scene to a native widget. This replaces NativeRenderingWidget.
Constructors
SceneRenderingWidget(Widget parent) Properties
| Name | Type | Description |
|---|---|---|
Scene | Scene | The active scene that we're rendering |
Camera | CameraComponent | The camera to render from. We will fallback to Scene.Camera if this is null |
GizmoInstance | Instance | This widget manages it's own gizmo instance. |
EnableEngineOverlays | Boolean | |
CursorRay | Ray | Return a ray for the current cursor position |
Methods
CameraComponent CreateSceneEditorCamera() Create a hidden scene editor camera, post processing will be copied from a main camera in the scene.
Void UpdateGizmoInputs(Boolean hasMouseFocus = True) Update common inputs for gizmo.