FrameParams

lumin.ExclusiveRender. FrameParams

FrameParams

Constructor

new FrameParams()

Members

farClip :number

Far clipping plane distance in meters.

Type:
  • number

focusDistance :number

Distance, in meters, to defined focus point for the client content. The focus
distance should be calculated as the positive distance to the client determined
object of interest (relative to the forward vector of the Lightwear).

Type:
  • number

nearClip :number

Requested near clip plane distance in meters.

Type:
  • number

stabilizationDepth :number

Depth, in meters, for which to optimize content stabilization for time warp.
Stabilization depth should be calculated as the positive depth of content to be
most stable under time warp (relative to the forward vector of the Lightwear).

This value should be set between focus_distance and far_clip. It usually provides a better
experience not having content farther than this distance, so a value close to the far clip
is recommended. The best value will depend on the actual depth distribution of content.
Type:
  • number

surfaceScale :number

The scale factor for the render surfaces, valid range is 0.0->1.0. When
supplying a scale factor < 1.0 the viewport returned from #MLGraphicsBeginFrame
will be adjusted to the closest width/height match to the request that can
be supported by the graphics system.

Type:
  • number