Use of .cdi3.json (SDK for Cocos Creator)

Updated: 03/14/2023

This page is for Cubism version 4.2 or earlier. Click here for the latest version.

Summary

This section explains how to customize the display names of parameters, parameter groups, and parts using .cdi3.json.

It is assumed that .cdi3.json has been written out for the model data to be used.

See “About supplementary view files” for more information about .cdi3.json and its implementation in SDK for Native / SDK for Web.

As a preliminary preparation, refer to “Import SDK,” import the model data with .cdi3.json exported and place the prefab, then select the root object of the prefab.

Use in Inspector

When model data containing .cdi3.json is imported, the names of the parameters and parts listed in .cdi3.json can be displayed in the Inspector of the model prefab.

Users can also assign any name they want.
To set a name, enter the name in the Display Name field under [Cubism Display Info Parameter Name] or [Cubism Display Info Part Name].
If Display Name is empty, the name listed in .cdi3.json is used.

Display Name is not yet set:

With Display Name set to:

Notation of parameters when setting the Display Name:

Was this article helpful?
YesNo
Please let us know what you think about this article.