15#include <vsg/lighting/Light.h>
16#include <vsg/maths/common.h>
17#include <vsg/nodes/Node.h>
31 double innerAngle = radians(30.0);
32 double outerAngle = radians(45.0);
40 void write(
Output& output)
const override;
SpotLight represents a local point light source whose intensity varies as a spot light.
Definition SpotLight.h:24
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
ref_ptr< Object > clone(const CopyOp ©op={}) const override
Definition SpotLight.h:36
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138