Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

FrameParams

Hierarchy

  • FrameParams

Index

Constructors

constructor

Properties

farClip

farClip: number

Far clipping plane distance in meters.

focusDistance

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).

nearClip

nearClip: number

Requested near clip plane distance in meters.

stabilizationDepth

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.

surfaceScale

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.

Generated using TypeDoc