syoyo/tinygltf

Get String value from a tinygltf::Value object

soodsumil opened this issue · 1 comments

I want to know how to retrieve String type value from a tinygltf::Value object. I am able to get Integer and Double values by using GetNumberAsDouble() method but there seems to be no way to retrieve a String type value from this object.

syoyo commented

You should look at loader_example.cc

} else if (value.IsString()) {