SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetElementFloat()

float Spices::GltfHelper::GetElementFloat ( const Json::object_t & root,
const char * path,
float pDefault )
static

Get float value in Json::object_t.

Parameters
[in]rootjson object.
[in]pathtype name.
[in]pDefaultdefault return value. return Returns value if found or default if not.

Definition at line 213 of file GltfHelper.cpp.

214 {
216
217 return GetElement<float>(&root, path, pDefault);
218 }
#define SPICES_PROFILE_ZONE