35 void setName(
const std::string& name);
38 void setColor(
const Math::Vec4f& color);
39 void setDirection(
const Math::Vec3f& direction);
40 void setConstantAttenuation(
float constantAttenuation);
41 void setDistance(
float distance);
42 void setLinearAttenuation(
float linearAttenuation);
43 void setQuadraticAttenuation(
float quadraticAttenuation);
44 void setFalloffAngle(
float falloffAngle);
45 void setFalloffExponent(
float falloffExponent);
56 Math::Vec4f _color{0.0f, 0.0f, 0.0f, 1.0f};
57 Math::Vec3f _direction{0.0f, 0.0f, 0.0f};
58 float _constantAttenuation{0.0f};
59 float _distance{0.0f};
60 float _linearAttenuation{1.0f};
61 float _quadraticAttenuation{1.0f};
62 float _falloffAngle{Math::halfPi<float>()};
63 float _falloffExponent{0.0f};
Dummy class for a shared pointer.
Resource::SharedPtr< lug::Graphics::Render::Material > build(const ::lug::Graphics::Builder::Material &builder)