Function getObject

Synopsis

#include <Source/Falcor/Utils/Scripting/Scripting.h>

template <typename T>
T getObject(const std::string &name) const

Description

No description yet.

Source

Lines 81-85 in Source/Falcor/Utils/Scripting/Scripting.h.

template<typename T>
T getObject(const std::string& name) const
{
    return mLocals[name.c_str()].cast<T>();
}





Add Discussion as Guest

Log in to DocsForge