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
voting
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
Voting is open. Play the entries and pick the winner.
£
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
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.