RenderSceneDataExtension
Inherits: RenderSceneData < Object
Description
Section titled “Description”This class allows for a RenderSceneData implementation to be made in NativeExtension.
This class allows for a RenderSceneData implementation to be made in NativeExtension.
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| 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
Section titled “Method descriptions”_get_cam_projection
Projection _get_cam_projection() virtual const
Implement this in NativeExtension to return the camera Projection.
_get_cam_transform
Transform3D _get_cam_transform() virtual const
Implement this in NativeExtension to return the camera Transform3D.
_get_uniform_buffer
RID _get_uniform_buffer() virtual const
Implement this in NativeExtension to return the RID of the uniform buffer containing the scene data as a UBO.
_get_view_count
int _get_view_count() virtual const
Implement this in NativeExtension to return the view count.
_get_view_eye_offset
Vector3 _get_view_eye_offset(view: int) virtual const
Implement this in NativeExtension to return the eye offset for the given view.
_get_view_projection
Projection _get_view_projection(view: int) virtual const
Implement this in NativeExtension to return the view Projection for the given view.
