Defines instance operations for IPixelLayer objects.
interface
|
IPixelLayerOps
|
base of
|
IPixelLayer
|
Applies a lambertian lighting term to the target pixels in Pixels.
method
|
LightAmbient
(int64 lightColor)
|
||
type
|
IPixelLayer
|
||
params
|
lightColor
|
The ambient light color (the alpha channel is ignored). | |
returns
|
|
The resulting pixel layer. |
See also:
ColorsApplies a lambertian lighting term to the target pixels in Pixels.
method
|
LightDirectional
(Vec3F lightDirection,
int64 lightColor)
|
||
type
|
IPixelLayer
|
||
params
|
lightDirection
|
The light direction vector. | |
lightColor
|
The directional light color (the alpha channel is ignored). | ||
returns
|
|
The resulting pixel layer. |
Remarks:
The X and Y refer to pixel coordinates, Z is pointing downwards.
See also:
Colors