Model

Model is the container used to store all the decoded JSON data. It loads all the data automatically through it's methods.

Constructors

this
this(string fileLocation, bool debugInfo)
Undocumented in source.

Members

Functions

loadFile
bool loadFile()

Automatically loads, decodes, and stores all the implemented JSON data into the model's arrays. Returns loading success.

Variables

accessors
Accessor[] accessors;

Accessors in the model.

animations
Animation[] animations;

Animations in the model.

asset
Asset asset;

The asset info of the model.

bufferViews
BufferView[] bufferViews;

BufferViews in the model.

buffers
Buffer[] buffers;

Buffers in the model.

meshes
Mesh[] meshes;

Meshes in the model.

nodes
Node[] nodes;

Nodes in the model.

samplers
Sampler[] samplers;

Samplers in the model.

skins
Skin[] skins;

Skins in the model.

Meta