setFoveation method
Sets the foveation value.
@param {number} value - A number in the range [0,1]
where 0
means no foveation (full resolution)
and 1
means maximum foveation (the edges render at lower resolution).
/
Implementation
void setFoveation(double value ) {
// 0 = no foveation = full resolution
// 1 = maximum foveation = the edges render at lower resolution
foveation = value;
glProjLayer?.fixedFoveation = value;
glBaseLayer?.fixedFoveation = value;
}