Use of .cdi3.json

[Last updated : 10/28/2021]



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.

For more information about .cdi3.json and its implementation in SDK for Native and SDK for Web, please see here.

As a preliminary preparation, refer to [Importing SDK - Placing a model], import the model data with .cdi3.json exported and place the prefab, then select the root object of the prefab.


Use on inspector

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

Users can also assign any name they wish.
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:



Use on Applications

The following code is an example of actual use on an application.
A C# script can be created with the following content and attached to the model prefab.


The following is an example of the display when applied to a Scroll View.

© 2010 - 2022 Live2D Inc.