s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
SceneRenderingWidget
chevron_left
Editor Classes
class
SceneRenderingWidget
Constructors
functions
SceneRenderingWidget
Properties
data_object
Camera
data_object
CursorRay
data_object
EnableEngineOverlays
data_object
GizmoInstance
data_object
Scene
Methods
functions
CreateSceneEditorCamera
functions
GetRay
lock
PreFrame
functions
UpdateGizmoInputs
SceneRenderingWidget
Render a scene to a native widget. This replaces NativeRenderingWidget.
class
Editor
.
account_tree
extends
Frame
Sandbox.Tools
build
Constructors
1
SceneRenderingWidget
(
parent
)
data_object
Properties
5
Camera
CameraComponent
The camera to render from. We will fallback to Scene.Camera if this is null
CursorRay
Ray
Return a ray for the current cursor position
EnableEngineOverlays
bool
GizmoInstance
Instance
This widget manages it's own gizmo instance.
Scene
Scene
The active scene that we're rendering
functions
Methods
4
CreateSceneEditorCamera
(
)
CameraComponent
Create a hidden scene editor camera, post processing will be copied from a main camera in the scene.
GetRay
(
localPosition
)
Ray
Given a local widget position, return a Ray
PreFrame
(
)
Called just before rendering.
UpdateGizmoInputs
(
hasMouseFocus
)
Update common inputs for gizmo.
Inheritance
QObject
Widget
Frame
SceneRenderingWidget
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.