MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / SetProperty

Method SetProperty

src/engine/SceneTypes.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool Light::SetProperty(const std::string& name, const dm::float4& value)
47{
48 if (name == "color")
49 {
50 color = value.xyz();
51 return true;
52 }
53
54 return SceneGraphLeaf::SetProperty(name, value);
55}
56
57dm::double3 Light::GetPosition() const
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected