Inheritance #

Table of contents

RenderSceneData #

core, not_builtin_classes

Abstract render data object, holds scene data related to rendering a single frame of a viewport.

Abstract scene data object, exists for the duration of rendering a single viewport.

Note: This is an internal rendering server object, do not instantiate this from script.

Members #

Methods #

const func get_cam_projection() -> Projection#

Returns the camera projection used to render this frame.

Note: If more than one view is rendered, this will return a combined projection.

const func get_cam_transform() -> Transform3D#

Returns the camera transform used to render this frame.

Note: If more than one view is rendered, this will return a centered transform.

const func get_uniform_buffer() -> RID#

Return the RID of the uniform buffer containing the scene data as a UBO.

const func get_view_count() -> int#

Returns the number of views being rendered.

const func get_view_eye_offset(view: int) -> Vector3#

Returns the eye offset per view used to render this frame. This is the offset between our camera transform and the eye transform.

const func get_view_projection(view: int) -> Projection#

Returns the view projection per view used to render this frame.

Note: If a single view is rendered, this returns the camera projection. If more than one view is rendered, this will return a projection for the given view including the eye offset.

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

Theme Items #

Tutorials #