Api session event editor cinematic set keypoint orientation

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Set Keypoint Orientation

Name Importance Type Description Values
0 REQUIRED (CINEMATIC_DATA Integer ID) Cinematic
1 REQUIRED (Integer number) Integer
2 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]
3 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]
4 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorcinematic/set_keypoint_orientation/?f=JSON&token=API_TOKEN

with content:

[ 1, 35, [ 1.0, 2.0, 3.0 ], [ 1.0, 2.0, 3.0 ], [ 1.0, 2.0, 3.0 ] ]