Skip to content
0.2.0-dev Download ZIP
51 lines ·1.9 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="RenderSceneDataExtension" inherits="RenderSceneData" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 This class allows for a RenderSceneData implementation to be made in GDExtension.
5 </brief_description>
6 <description>
7 This class allows for a RenderSceneData implementation to be made in GDExtension.
8 </description>
9 <tutorials>
10 </tutorials>
11 <methods>
12 <method name="_get_cam_projection" qualifiers="virtual const">
13 <return type="Projection" />
14 <description>
15 Implement this in GDExtension to return the camera [Projection].
16 </description>
17 </method>
18 <method name="_get_cam_transform" qualifiers="virtual const">
19 <return type="Transform3D" />
20 <description>
21 Implement this in GDExtension to return the camera [Transform3D].
22 </description>
23 </method>
24 <method name="_get_uniform_buffer" qualifiers="virtual const">
25 <return type="RID" />
26 <description>
27 Implement this in GDExtension to return the [RID] of the uniform buffer containing the scene data as a UBO.
28 </description>
29 </method>
30 <method name="_get_view_count" qualifiers="virtual const">
31 <return type="int" />
32 <description>
33 Implement this in GDExtension to return the view count.
34 </description>
35 </method>
36 <method name="_get_view_eye_offset" qualifiers="virtual const">
37 <return type="Vector3" />
38 <param index="0" name="view" type="int" />
39 <description>
40 Implement this in GDExtension to return the eye offset for the given [param view].
41 </description>
42 </method>
43 <method name="_get_view_projection" qualifiers="virtual const">
44 <return type="Projection" />
45 <param index="0" name="view" type="int" />
46 <description>
47 Implement this in GDExtension to return the view [Projection] for the given [param view].
48 </description>
49 </method>
50 </methods>
51</class>