feSpotLight {gridSVG} | R Documentation |
Create a Spot Light Source
Description
This filter primitive defines a spot light source that can be used
within a lighting filter primitive: feDiffuseLighting
or
feSpecularLighting
.
Usage
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, ...)
Arguments
x |
A numeric vector or unit object specifying the x-location of the light source. |
y |
A numeric vector or unit object specifying the y-location of the light source. |
z |
A numeric vector or unit object specifying the z-location of the light source. |
pointsAtX |
A numeric vector or unit object specifying the x-location that the light points at. |
pointsAtY |
A numeric vector or unit object specifying the y-location that the light points at. |
pointsAtZ |
A numeric vector or unit object specifying the z-location that the light points at. |
zdim |
Either |
default.units |
A string indicating the default units to use if |
specularExponent |
Exponent value controlling the focus for the light source. |
limitingConeAngle |
If |
... |
Further arguments to be passed onto |
Details
For more information about this primitive, consult the reference to the SVG specification.
Value
An fe.spot.light
object.
Author(s)
Simon Potter
References
https://www.w3.org/TR/SVG/filters.html#feSpotLightElement
See Also
filterEffect
, fe
,
feDiffuseLighting
, feSpecularLighting
.