
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
feDiffuseLighting
or
feSpecularLighting
.
feSpotLight(x = unit(0, "npc"), y = unit(0, "npc"), z = unit(0, "npc"), pointsAtX = unit(1, "npc"), pointsAtY = unit(1, "npc"), pointsAtZ = unit(0, "npc"), zdim = "x", default.units = "npc", specularExponent = 1, limitingConeAngle = NA, ...)
"x"
or "y"
. Determines the dimension to which
z
and pointsAtZ
will be located relative to. This is
necessary because R graphics has no concept of a z-dimension.
x
, y
,
z
, pointsAtX
, pointsAtY
, pointsAtZ
are
only given as numeric vectors.
NA
, no limiting cone is applied, otherwise a limiting cone
which restricts the region where the light is projected. No light is
projected outside the cone. limitingConeAngle
represents the
angle in degrees between the spot light axis (i.e. the axis between
the light source and the point to which it is pointing at) and the
spot light cone.
fe
.
fe.spot.light
object.
filterEffect
, fe
,
feDiffuseLighting
, feSpecularLighting
.