15#include <vsg/lighting/Light.h>
16#include <vsg/maths/common.h>
17#include <vsg/nodes/Node.h>
23 class VSG_DECLSPEC PointLight :
public Inherit<Light, PointLight>
27 PointLight(
const PointLight& rhs,
const CopyOp& copyop = {});
29 dvec3 position = dvec3(0.0, 0.0, 0.0);
36 void read(
Input& input)
override;
37 void write(
Output& output)
const override;
40 virtual ~PointLight() {}
PointLight represents a local point light source where all light radiants event from the light positi...
Definition PointLight.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 PointLight.h:33