interface
|
ILightProvider
|
base of
|
EnvironmentMapResource
|
||
IEnvironmentMap
|
|||||
LightingGui
|
Latitude of the prominent light in this environment map, if applicable.
property
|
LightLatitude
{
get
}
|
||
type
|
float64
|
||
value
|
|
The latitude angle in degrees or NanD if there is no prominent light. |
Longitude of the prominent light in this environment map, if applicable.
property
|
LightLongitude
{
get
}
|
||
type
|
float64
|
||
value
|
|
The longitude angle in degrees or NanD if there is no prominent light. |
Apparent size of prominent light in this environment map, if applicable.
property
|
LightSize
{
get
}
|
||
type
|
float64
|
||
value
|
|
The apparent diameter of the prominent light, given as an angle in degrees. Will be NanD if there is no prominent light. |
Can the SetLight method be used to configure the prominent light?
property
|
SetLightMask
{
get
}
|
||
type
|
int32
|
||
value
|
Zero
or
more
of
the
following
bits:
1 :
LightLatitude
can
be
configured.
2 :
LightLongitude
can
be
configured.
4 :
LightSize
can
be
configured.
|
Configures the prominent light.
method
|
SetLight
(float64 latitude,
float64 longitude,
float64 size)
|
||
params
|
latitude
|
Latitude of the prominent light in this environment map (see LightLatitude). | |
longitude
|
Longitude of the prominent light in this environment map (see LightLongitude). | ||
size
|
Apparent size of prominent light in this environment map, in degrees (see LightSize). |
Computes the direction vector of the prominent light in this environment map.
[Pure]
|
||||
method
|
LightVector
()
|
|||
type
|
Vec3D
|
|||
returns
|
The unit-length light direction vector, in world-space. |
Configures the prominent light.
method
|
SetLight
(ILightProvider other)
|
||
params
|
other
|
[not-null]
|
The light provider from which to copy the light settings. |