pub struct SpotLight {
pub x: f64,
pub y: f64,
pub z: f64,
pub points_at_x: f64,
pub points_at_y: f64,
pub points_at_z: f64,
pub specular_exponent: PositiveF64,
pub limiting_cone_angle: Option<f64>,
}Expand description
A spot light source.
feSpotLight element in the SVG.
Fields§
§x: f64X location for the light source.
x in the SVG.
y: f64Y location for the light source.
y in the SVG.
z: f64Z location for the light source.
z in the SVG.
points_at_x: f64X point at which the light source is pointing.
pointsAtX in the SVG.
points_at_y: f64Y point at which the light source is pointing.
pointsAtY in the SVG.
points_at_z: f64Z point at which the light source is pointing.
pointsAtZ in the SVG.
specular_exponent: PositiveF64Exponent value controlling the focus for the light source.
specularExponent in the SVG.
limiting_cone_angle: Option<f64>A limiting cone which restricts the region where the light is projected.
limitingConeAngle in the SVG.