RenderSceneData
Abstract render data object, holds scene data related to rendering a single frame of a viewport.
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. See also RenderSceneDataRD, RenderData, and RenderDataRD.
Note: This is an internal rendering server object. Do not instantiate this class from a script.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods6
GetCamProjectionProjection
public Projection GetCamProjection();Returns the camera projection used to render this frame. Note: If more than one view is rendered, this will return a combined projection.
ProjectionGetCamTransformTransform3D
public Transform3D GetCamTransform();Returns the camera transform used to render this frame. Note: If more than one view is rendered, this will return a centered transform.
Transform3DGetUniformBufferRid
public Rid GetUniformBuffer();Return the Rid of the uniform buffer containing the scene data as a UBO.
RidGetViewCountuint
public uint GetViewCount();Returns the number of views being rendered.
uintGetViewEyeOffsetVector3
public Vector3 GetViewEyeOffset(uint view);Returns the eye offset per view used to render this frame. This is the offset between our camera transform and the eye transform.
| Name | Type | Default |
|---|---|---|
view | uint | — |
Vector3GetViewProjectionProjection
public Projection GetViewProjection(uint view);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.
| Name | Type | Default |
|---|---|---|
view | uint | — |
Projection