Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

RenderSceneDataExtensionΒΆ

Inherits: RenderSceneData < Object

This class allows for a RenderSceneData implementation to be made in GDExtension.

DescriptionΒΆ

This class allows for a RenderSceneData implementation to be made in GDExtension.

MethodsΒΆ

Projection

_get_cam_projection() virtual const

Transform3D

_get_cam_transform() virtual const

RID

_get_uniform_buffer() virtual const

int

_get_view_count() virtual const

Vector3

_get_view_eye_offset(view: int) virtual const

Projection

_get_view_projection(view: int) virtual const


Method DescriptionsΒΆ

Projection _get_cam_projection() virtual const πŸ”—

Implement this in GDExtension to return the camera Projection.


Transform3D _get_cam_transform() virtual const πŸ”—

Implement this in GDExtension to return the camera Transform3D.


RID _get_uniform_buffer() virtual const πŸ”—

Implement this in GDExtension to return the RID of the uniform buffer containing the scene data as a UBO.


int _get_view_count() virtual const πŸ”—

Implement this in GDExtension to return the view count.


Vector3 _get_view_eye_offset(view: int) virtual const πŸ”—

Implement this in GDExtension to return the eye offset for the given view.


Projection _get_view_projection(view: int) virtual const πŸ”—

Implement this in GDExtension to return the view Projection for the given view.