API (v2.0.0) - Giro3D
Preparing search index...
core/geographic/Sun
sun
Variable sun
sun
:
{
getDirection
:
(
date
?:
Date
)
=>
Vector3
;
getGeographicPosition
:
(
date
?:
Date
,
target
?:
Coordinates
)
=>
Coordinates
;
getLocalFrameDirection
:
(
observer
:
Coordinates
,
date
?:
Date
)
=>
Vector3
;
getLocalPosition
:
(
params
:
{
azimuth
:
number
;
distance
?:
number
;
point
?:
Vector3
;
zenith
:
number
;
}
,
target
?:
Vector3
,
)
=>
Vector3
;
}
Utility functions related to the position of the sun.
Type Declaration
getDirection
:
(
date
?:
Date
)
=>
Vector3
getGeographicPosition
:
(
date
?:
Date
,
target
?:
Coordinates
)
=>
Coordinates
getLocalFrameDirection
:
(
observer
:
Coordinates
,
date
?:
Date
)
=>
Vector3
getLocalPosition
:
(
params
:
{
azimuth
:
number
;
distance
?:
number
;
point
?:
Vector3
;
zenith
:
number
;
}
,
target
?:
Vector3
,
)
=>
Vector3
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
API (v2.0.0) - Giro3D
Loading...
Utility functions related to the position of the sun.