0.2.0-dev Download ZIP
38 lines ·1.6 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="RenderData" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Abstract render data object, holds frame data related to rendering a single frame of a viewport. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Abstract render data object, exists for the duration of rendering a single viewport. See also [RenderDataRD], [RenderSceneData], and [RenderSceneDataRD]. |
| 8 | [b]Note:[/b] This is an internal rendering server object. Do not instantiate this class from a script. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | </tutorials> |
| 12 | <methods> |
| 13 | <method name="get_camera_attributes" qualifiers="const"> |
| 14 | <return type="RID" /> |
| 15 | <description> |
| 16 | Returns the [RID] of the camera attributes object in the [RenderingServer] being used to render this viewport. |
| 17 | </description> |
| 18 | </method> |
| 19 | <method name="get_environment" qualifiers="const"> |
| 20 | <return type="RID" /> |
| 21 | <description> |
| 22 | Returns the [RID] of the environment object in the [RenderingServer] being used to render this viewport. |
| 23 | </description> |
| 24 | </method> |
| 25 | <method name="get_render_scene_buffers" qualifiers="const"> |
| 26 | <return type="RenderSceneBuffers" /> |
| 27 | <description> |
| 28 | Returns the [RenderSceneBuffers] object managing the scene buffers for rendering this viewport. |
| 29 | </description> |
| 30 | </method> |
| 31 | <method name="get_render_scene_data" qualifiers="const"> |
| 32 | <return type="RenderSceneData" /> |
| 33 | <description> |
| 34 | Returns the [RenderSceneData] object managing this frames scene data. |
| 35 | </description> |
| 36 | </method> |
| 37 | </methods> |
| 38 | </class> |