Api session items modeldatas: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Model Datas Endpoints. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/modeldatas/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "additions" : [ ], "animMultiplier" : null, "buffer" : 10, "dimension" : 1, "frequency" : 10, "id" : 0, "instanceColor" : "GRAY", "isAlpha" : false, "isShowCloseby" : false, "modelHeight" : 6.30242, "m..." Tag: Replaced |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 24: | Line 24: | ||
"show" : "MIDDLE", | "show" : "MIDDLE", | ||
"variation" : 1, | "variation" : 1, | ||
"version" : | "version" : 11 | ||
}, { | }, { | ||
"additions" : [ ], | "additions" : [ ], | ||
| Line 45: | Line 45: | ||
"show" : "MIDDLE", | "show" : "MIDDLE", | ||
"variation" : 1, | "variation" : 1, | ||
"version" : | "version" : 12 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 70: | Line 70: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/modeldatas/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/modeldatas/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model Addition== | |||
API Model description of Addition | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|amount | |||
|int | |||
| | |||
|- | |||
|animMultiplier | |||
|double | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|randomScale | |||
|double | |||
| | |||
|- | |||
|show | |||
|Show | |||
| | |||
|} | |||
==Api Model InstanceColor== | ==Api Model InstanceColor== | ||
API Enumeration description of InstanceColor | API Enumeration description of InstanceColor | ||
| Line 180: | Line 209: | ||
|int | |int | ||
| | | | ||
|} | |||
==Api Model ParticleEmitterCoordinatePair== | |||
API Model description of ParticleEmitterCoordinatePair | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|offsetCoordinate | |||
|double[] | |||
| | |||
|- | |||
|particleEmitterID | |||
|int | |||
|[[Particle Emitter]] ID | |||
|} | |} | ||
| Line 210: | Line 260: | ||
|- | |- | ||
|FREE | |FREE | ||
| | |||
|} | |||
==Api Model Show== | |||
API Enumeration description of Show | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|FAR | |||
| | |||
|- | |||
|MIDDLE | |||
| | |||
|- | |||
|CLOSE | |||
| | | | ||
|} | |} | ||
| Line 218: | Line 285: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:13, 24 April 2026
Api session items Model Datas Endpoints.
Default Query:
https://engine.tygron.com/api/session/items/modeldatas/?f=JSON&token=API_TOKENExample Response:
[ {
"additions" : [ ],
"animMultiplier" : null,
"buffer" : 10,
"dimension" : 1,
"frequency" : 10,
"id" : 0,
"instanceColor" : "GRAY",
"isAlpha" : false,
"isShowCloseby" : false,
"modelHeight" : 6.30242,
"modelWidth" : 1.6587989,
"name" : "traffic_light",
"particleEmitters" : [ ],
"placement" : "POINT",
"randomScale" : 0.0,
"roots" : false,
"rotation" : "FREE",
"show" : "MIDDLE",
"variation" : 1,
"version" : 11
}, {
"additions" : [ ],
"animMultiplier" : null,
"buffer" : 10,
"dimension" : 1,
"frequency" : 10,
"id" : 1,
"instanceColor" : "GRAY",
"isAlpha" : false,
"isShowCloseby" : false,
"modelHeight" : 1.25364,
"modelWidth" : 1.039926,
"name" : "house_chimney",
"particleEmitters" : [ ],
"placement" : "POINT",
"randomScale" : 0.0,
"roots" : false,
"rotation" : "FIXED",
"show" : "MIDDLE",
"variation" : 1,
"version" : 12
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/modeldatas/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/modeldatas/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/modeldatas/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/modeldatas/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/modeldatas/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/modeldatas/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/modeldatas/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/modeldatas/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/modeldatas/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/modeldatas/?f=ZIPSMILE&token=API_TOKENApi Model Addition
API Model description of Addition
| Name | Type | Description |
|---|---|---|
| amount | int | |
| animMultiplier | double | |
| name | String | |
| randomScale | double | |
| show | Show |
Api Model InstanceColor
API Enumeration description of InstanceColor
| Name | Description |
|---|---|
| GRAY | |
| WHITE | |
| VEGIE_GREEN | |
| GRAIN_YELLOW | |
| FLOWERS |
Api Model ModelData
API Model description of ModelData
| Name | Type | Description |
|---|---|---|
| additions | Addition[] | |
| animMultiplier | double | |
| buffer | int | |
| dimension | int | |
| frequency | int | |
| id | int | |
| instanceColor | InstanceColor | |
| isAlpha | boolean | |
| isShowCloseby | boolean | |
| modelHeight | double | |
| modelWidth | double | |
| name | String | |
| particleEmitters | ParticleEmitterCoordinatePair[] | |
| placement | Placement | |
| randomScale | double | |
| roots | boolean | |
| rotation | Rotation | |
| show | Show | |
| variation | int | |
| version | int |
Api Model ParticleEmitterCoordinatePair
API Model description of ParticleEmitterCoordinatePair
| Name | Type | Description |
|---|---|---|
| id | int | |
| offsetCoordinate | double[] | |
| particleEmitterID | int | Particle Emitter ID |
Api Model Placement
API Enumeration description of Placement
| Name | Description |
|---|---|
| POINT | |
| EDGE |
Api Model Rotation
API Enumeration description of Rotation
| Name | Description |
|---|---|
| FIXED | |
| QUARTER | |
| FREE |
Api Model Show
API Enumeration description of Show
| Name | Description |
|---|---|
| FAR | |
| MIDDLE | |
| CLOSE |