threejs-worldgen
Website
Demos
GitHub
Preparing search index...
threejs-sky
horizontal
Function horizontal
horizontal
(
state
:
Pick
<
SkyState
,
"up"
|
"east"
|
"north"
>
,
dir
:
Vec3
,
)
:
[
elevation
:
number
,
azimuth
:
number
]
Elevation and azimuth (degrees) of a render-space direction in the observer's horizon frame.
Parameters
state
:
Pick
<
SkyState
,
"up"
|
"east"
|
"north"
>
dir
:
Vec3
Returns
[
elevation
:
number
,
azimuth
:
number
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Website
Demos
GitHub
threejs-worldgen
Loading...
Elevation and azimuth (degrees) of a render-space direction in the observer's horizon frame.