Inheritence

Summary

Render a scene to a native widget. This replaces NativeRenderingWidget.

Constructors

SceneRenderingWidget

Properties

Camera The camera to render from. We will fallback to Scene.Camera if this is null
CursorRay Return a ray for the current cursor position
GizmoInstance This widget manages it's own gizmo instance.
Scene The active scene that we're rendering

Methods

CreateSceneEditorCamera Create a hidden scene editor camera, post processing will be copied from a main camera in the scene.
GetRay Given a local widget position, return a Ray
PreFrame Called just before rendering.
UpdateGizmoInputs Update common inputs for gizmo.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.