settings.json
Copy Json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Animation settings",
"type": "object",
"properties": {
"preview": {
"type": "object",
"properties": {
"speed": {
"type": "number",
"enum": [0.25, 0.5, 1, 2, 4],
"description" : "Preview speed."
},
"preview_mode": {
"type": "string",
"enum": ["realtime", "frame_by_frame"],
"description" : "Show the animation in the preview in realtime or frame by frame."
}
}
},
"cameras": {
"type": "object",
"properties": {
"follow_avatar": {
"type": "boolean",
"description" : "If true the camera will always point to the avatar."
},
"motion_id": {
"type": "string",
"description" : "The ID of the current camera (The ID can be \"\")."
},
"orientation": {
"type": "integer",
"enum": [0, 45, 90, 135, 180, 225, 270, 315],
"description" : "The orientation of the camera."
}
}
},
"simulation_settings": {
"type": "object",
"properties": {
"resimulate": {
"type": "boolean",
"description" : "If true a snapshot will be created even if a snapshot exists."
},
"inertia": {
"type": "boolean",
"description" : "Add inertia to the simulation."
}
}
},
"fps": {
"type": "number",
"description" : "Frames per second."
},
"total_duration": {
"type": "number",
"description" : "The total duration of the animation."
},
"avatar_orig_fps": {
"type": "number",
"description" : "The fps with which the avatar was originally built."
},
"total_frames": {
"type": "integer",
"description" : "The total frames of the animation."
},
"cached_frame": {
"type": "integer",
"description" : "The total cached frames of the animation."
},
"current_frame": {
"type": "integer",
"description" : "The current frame index."
},
"avatar_animation_id": {
"type": "string",
"description" : "The current avatar animation ID."
}
}
}