reckfellENGINE

RenderSceneData

Abstract render data object, holds scene data related to rendering a single frame of a viewport.

On this page
class RenderSceneDataReckfellSharpInherits ReckfellObject

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
# GetCamProjection
C#
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.

Returns Projection
GetCamTransformTransform3D
# GetCamTransform
C#
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.

Returns Transform3D
GetUniformBufferRid
# GetUniformBuffer
C#
public Rid GetUniformBuffer();

Return the Rid of the uniform buffer containing the scene data as a UBO.

Returns Rid
GetViewCountuint
# GetViewCount
C#
public uint GetViewCount();

Returns the number of views being rendered.

Returns uint
GetViewEyeOffsetVector3
# GetViewEyeOffset
C#
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.

Parameters
NameTypeDefault
viewuint—
Returns Vector3
GetViewProjectionProjection
# GetViewProjection
C#
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.

Parameters
NameTypeDefault
viewuint—
Returns Projection
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.