API
Babylon Lite API
|
NormalizedViewport
…
|
Babylon Lite API
|
NormalizedViewport
NormalizedViewport
Interface NormalizedViewport
Babylon-compatible normalized camera viewport. x/y/width/height are fractions of the render target.
interface
NormalizedViewport
{
height
:
number
;
width
:
number
;
x
:
number
;
y
:
number
;
}
Index
Properties
height
width
x
y
Properties
height
height
:
number
width
width
:
number
x
x
:
number
y
y
:
number
Babylon-compatible normalized camera viewport. x/y/width/height are fractions of the render target.