RenderFrameShow class
Arguments of RenderSender.ShowFrame: the projection metadata the frame was
rendered with. The defaults match qar_render_frame_show_default(): near 0.1, far
100, depth scale 1.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs
public sealed class RenderFrameShow
Remarks
Report what was really used. The mixer re-projects the frame to the viewer's latest head pose from this metadata and the depth buffer; wrong values show up as swimming or misplaced content, not as an error.
Constructors
RenderFrameShow()
public RenderFrameShow()
Properties
RenderedNearFar
The near and far the frame was rendered with, in app units (app content space).
public NearFar RenderedNearFar { get; set; }
Value: NearFar
DepthScale
Factor from the depth buffer's units to the view poses' units. The sender folds in the app scale itself; do not include it here.
public float DepthScale { get; set; }
Value: float
Methods
WithExtension
public RenderFrameShow WithExtension(Structure extension)
Parameters
| Name | Type | Description |
|---|---|---|
extension | Structure |
Returns: RenderFrameShow
WithViewOverrides
Chains a RenderFrameShowViewOverrides carrying viewOverrides.
public RenderFrameShow WithViewOverrides(params RenderFrameViewOverride[] viewOverrides)
Parameters
| Name | Type | Description |
|---|---|---|
viewOverrides | RenderFrameViewOverride[] |
Returns: RenderFrameShow