15 #include <vsg/maths/common.h>
16 #include <vsg/nodes/Node.h>
29 float intensity = 1.0f;
31 void read(
Input& input)
override;
32 void write(
Output& output)
const override;
43 void read(
Input& input)
override;
44 void write(
Output& output)
const override;
57 void read(
Input& input)
override;
58 void write(
Output& output)
const override;
71 void read(
Input& input)
override;
72 void write(
Output& output)
const override;
85 double innerAngle = radians(30.0);
86 double outerAngle = radians(45.0);
88 void read(
Input& input)
override;
89 void write(
Output& output)
const override;
AmbientLight represents an ambient light source.
Definition: Light.h:41
DirectionalLight represents a directional light source - used for light sources that are treated as i...
Definition: Light.h:53
PointLight represents a local point light source where all light radiants event from the light positi...
Definition: Light.h:67
SpotLight represents a local point light source which intensity varies as a spot light.
Definition: Light.h:81