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

Method Load

src/engine/SceneGraph.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void PerspectiveCamera::Load(const Json::Value& node)
162{
163 node["verticalFov"] >> verticalFov;
164 node["aspectRatio"] >> aspectRatio;
165 node["zNear"] >> zNear;
166 node["zFar"] >> zFar;
167}
168
169bool PerspectiveCamera::SetProperty(const std::string& name, const dm::float4& value)
170{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected