Cubism SDK‎ > ‎Frameworks‎ > ‎

Load the Model from a JSON File

Summary

We are going to explain about loading the model from the setting file.
It is possible to load it without the setting file, however using it enable you to operate the process easier.

ModelSettingJson class

In the sample, we keep model's information using ModelSettingJson class.
Following information is embedded in the sample.

Model file
Texture file (plural)
Motion file (plural)
Expression motion file (plural)
Physics computation setting file
Pose setting file

Start loading using theses files.

JSON setting file

The setting file is written by JSON.
This enables you to check the file with the text editor, or expand the specification easily.
The filename extension is "model.json" in the sample, however there is no restriction.


サブページ (2): json sample
Comments