Core API¶
This page references the loaders and entrypoints registered by the Core plugin.
Loaders¶
mesh¶
Can load the following formats: off, stl, ply, obj.
This loader does not support loading binary data using ‘upload-model’.
mhd-volume¶
Can load the following formats: mhd.
This loader does not support loading binary data using ‘upload-model’.
raw-volume¶
Can load the following formats: raw.
This loader supports loading binary data using ‘upload-model’.
type |
object |
||
properties |
|||
|
Volume byte data type |
||
type |
string |
||
enum |
unsinged_char, short, unsigned_short, half_float, float, double |
||
|
Volume grid size XYZ |
||
type |
array |
||
items |
type |
integer |
|
minimum |
0 |
||
maxItems |
3 |
||
minItems |
3 |
||
|
Volume grid cell spacing XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
additionalProperties |
False |
Entrypoints¶
add-bounded-planes¶
Adds a list of axis-aligned bound limited planes.
Params:
type |
array |
|||||
items |
GeometryWithColor |
|||||
type |
object |
|||||
properties |
||||||
|
Geometry color |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
BoundedPlane |
|||||
Geometry data |
||||||
type |
object |
|||||
properties |
||||||
|
Box |
|||||
Axis-aligned bounds to limit the plane geometry |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
Equation coefficients ABCD from Ax + By + Cz + D = 0 |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-boxes¶
Adds a list of boxes to the scene.
Params:
type |
array |
||||
items |
GeometryWithColor |
||||
type |
object |
||||
properties |
|||||
|
Geometry color |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Box |
||||
Geometry data |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-capsules¶
Adds a list of capsules to the scene.
Params:
type |
array |
||||
items |
GeometryWithColor |
||||
type |
object |
||||
properties |
|||||
|
Geometry color |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Capsule |
||||
Geometry data |
|||||
type |
object |
||||
properties |
|||||
|
Start point of the capsule XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
End point of the capsule XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Capsule radius at p0 |
||||
type |
number |
||||
|
Capsule radius at p1 |
||||
type |
number |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-clipping-bounded-planes¶
Add a list of axis-aligned bound limited clipping planes.
Params:
type |
object |
|||||
properties |
||||||
|
Switches clipping side |
|||||
type |
boolean |
|||||
default |
False |
|||||
|
Clipping primitive list |
|||||
type |
array |
|||||
items |
BoundedPlane |
|||||
type |
object |
|||||
properties |
||||||
|
Box |
|||||
Axis-aligned bounds to limit the plane geometry |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
Equation coefficients ABCD from Ax + By + Cz + D = 0 |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-clipping-boxes¶
Add a list of clipping boxes to the scene.
Params:
type |
object |
||||
properties |
|||||
|
Switches clipping side |
||||
type |
boolean |
||||
default |
False |
||||
|
Clipping primitive list |
||||
type |
array |
||||
items |
Box |
||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-clipping-capsules¶
Add a list of clipping capsules to the scene.
Params:
type |
object |
||||
properties |
|||||
|
Switches clipping side |
||||
type |
boolean |
||||
default |
False |
||||
|
Clipping primitive list |
||||
type |
array |
||||
items |
Capsule |
||||
type |
object |
||||
properties |
|||||
|
Start point of the capsule XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
End point of the capsule XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Capsule radius at p0 |
||||
type |
number |
||||
|
Capsule radius at p1 |
||||
type |
number |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-clipping-planes¶
Add a list of clipping planes to the scene.
Params:
type |
object |
||||
properties |
|||||
|
Switches clipping side |
||||
type |
boolean |
||||
default |
False |
||||
|
Clipping primitive list |
||||
type |
array |
||||
items |
Plane |
||||
type |
object |
||||
properties |
|||||
|
Equation coefficients ABCD from Ax + By + Cz + D = 0 |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-clipping-spheres¶
Add a list of clipping spheres to the scene.
Params:
type |
object |
||||
properties |
|||||
|
Switches clipping side |
||||
type |
boolean |
||||
default |
False |
||||
|
Clipping primitive list |
||||
type |
array |
||||
items |
Sphere |
||||
type |
object |
||||
properties |
|||||
|
Sphere center XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Sphere radius |
||||
type |
number |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-light-ambient¶
Adds an ambient light which iluminates the scene from all directions.
Params:
type |
object |
||
properties |
|||
|
Light color RGB normalized |
||
type |
array |
||
default |
1 |
||
1 |
|||
1 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Light intensity |
||
type |
number |
||
minimum |
0 |
||
default |
1 |
||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-light-directional¶
Adds a directional light which iluminates the scene from a given direction.
Params:
type |
object |
||
properties |
|||
|
Light color RGB normalized |
||
type |
array |
||
default |
1 |
||
1 |
|||
1 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Light direction XYZ |
||
type |
array |
||
default |
-1 |
||
-1 |
|||
0 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Light intensity |
||
type |
number |
||
minimum |
0 |
||
default |
1 |
||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-light-quad¶
Add a quad light which iluminates the scene on a specific area.
Params:
type |
object |
||
properties |
|||
|
Light color RGB normalized |
||
type |
array |
||
default |
1 |
||
1 |
|||
1 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Edge 1 XYZ |
||
type |
array |
||
default |
1 |
||
0 |
|||
0 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Edge 2 XYZ |
||
type |
array |
||
default |
0 |
||
0 |
|||
1 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Light intensity |
||
type |
number |
||
minimum |
0 |
||
default |
1 |
||
|
Light base corner position XYZ |
||
type |
array |
||
default |
0 |
||
0 |
|||
0 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-light-sphere¶
Add a sphere or a point light (radius = 0).
Params:
type |
object |
||
properties |
|||
|
Light color RGB normalized |
||
type |
array |
||
default |
1 |
||
1 |
|||
1 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Light intensity |
||
type |
number |
||
minimum |
0 |
||
default |
1 |
||
|
Light position XYZ |
||
type |
array |
||
default |
0 |
||
0 |
|||
0 |
|||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Sphere radius |
||
type |
number |
||
default |
0 |
||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-model¶
Add model from path and return model descriptor on success.
This entrypoint is asynchronous, it means that it can take a long time and send progress notifications.
Params:
type |
object |
|
properties |
||
|
Name of the loader used to parse the model file |
|
type |
string |
|
|
Settings to configure the loading process |
|
|
Path of the file to load |
|
type |
string |
|
additionalProperties |
False |
Result:
type |
array |
|||||
items |
ModelInstance |
|||||
type |
object |
|||||
properties |
||||||
|
Bounds |
|||||
Model bounds |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
ModelInfo |
|||||
Model-specific info |
||||||
type |
object |
|||||
properties |
||||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
LoadInfo |
|||||
Model load info |
||||||
type |
object |
|||||
properties |
||||||
|
Loader settings |
|||||
|
Loader name |
|||||
type |
string |
|||||
|
File path in case of file load type |
|||||
type |
string |
|||||
|
Model load source |
|||||
type |
string |
|||||
enum |
from_file, from_blob, none |
|||||
additionalProperties |
False |
|||||
|
Model-specific metadata |
|||||
type |
object |
|||||
additionalProperties |
type |
string |
||||
additionalProperties |
False |
|||||
|
Wether the model is being rendered or not |
|||||
type |
boolean |
|||||
|
Model ID |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
|
Model type |
|||||
type |
string |
|||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |
add-planes¶
Adds a list of planes to the scene.
Params:
type |
array |
||||
items |
GeometryWithColor |
||||
type |
object |
||||
properties |
|||||
|
Geometry color |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Plane |
||||
Geometry data |
|||||
type |
object |
||||
properties |
|||||
|
Equation coefficients ABCD from Ax + By + Cz + D = 0 |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
add-spheres¶
Adds a list of spheres to the scene.
Params:
type |
array |
||||
items |
GeometryWithColor |
||||
type |
object |
||||
properties |
|||||
|
Geometry color |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Sphere |
||||
Geometry data |
|||||
type |
object |
||||
properties |
|||||
|
Sphere center XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Sphere radius |
||||
type |
number |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
cancel¶
Cancel the task started by the request with the given ID.
Params:
type |
object |
||
properties |
|||
|
RequestId |
||
ID of the request to cancel |
|||
oneOf |
type |
null |
|
type |
integer |
||
type |
string |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
clear-clip-planes¶
Old clear for clipping geometries, use ‘clear-clipping-geometries’ instead.
Attention
This entrypoint is DEPRECATED, it will be removed or renamed in the next major release.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
clear-clipping-geometries¶
Clear all clipping geometries in the scene.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
clear-lights¶
Clear all lights in the scene.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
clear-models¶
Clear all models in the scene.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
clear-renderables¶
Clear all renderable models in the scene.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
color-model¶
Applies the specified color method to the model with the given color input.
Params:
type |
object |
|||
properties |
||||
|
ID of the model to color |
|||
type |
integer |
|||
minimum |
0 |
|||
|
Coloring method |
|||
type |
string |
|||
|
Coloring parameters |
|||
type |
object |
|||
additionalProperties |
type |
array |
||
items |
type |
number |
||
maxItems |
4 |
|||
minItems |
4 |
|||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
enable-simulation¶
A switch to enable or disable simulation on a model.
Params:
type |
object |
|
properties |
||
|
Enable simulation if true |
|
type |
boolean |
|
|
ID of the model to color |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
export-gbuffers¶
Renders and returns (or saves to disk) the Framebuffer G-Buffers.
This entrypoint is asynchronous, it means that it can take a long time and send progress notifications.
Params:
type |
object |
|||
properties |
||||
|
EngineObjectData |
|||
Camera definition |
||||
type |
object |
|||
properties |
||||
|
Object type name |
|||
type |
string |
|||
|
Object parameters |
|||
additionalProperties |
False |
|||
|
Camera near clipping distance |
|||
type |
number |
|||
|
View |
|||
Camera view |
||||
type |
object |
|||
properties |
||||
|
Camera position XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Camera target XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Camera up vector XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
additionalProperties |
False |
|||
|
Framebuffer channels to export |
|||
type |
array |
|||
items |
type |
string |
||
enum |
color, depth, albedo, normal |
|||
|
Path to save the buffer as EXR, encoded data is returned if unset |
|||
type |
string |
|||
|
EngineObjectData |
|||
Renderer |
||||
type |
object |
|||
properties |
||||
|
Object type name |
|||
type |
string |
|||
|
Object parameters |
|||
additionalProperties |
False |
|||
|
Image resolution |
|||
type |
array |
|||
items |
type |
integer |
||
minimum |
0 |
|||
maxItems |
2 |
|||
minItems |
2 |
|||
|
Simulation frame to render |
|||
type |
integer |
|||
minimum |
0 |
|||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
get-application-parameters¶
Get the current state of the application parameters.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
||
properties |
|||
|
Framebuffer resolution in pixels |
||
type |
array |
||
items |
type |
integer |
|
minimum |
0 |
||
maxItems |
2 |
||
minItems |
2 |
||
additionalProperties |
False |
get-camera-near-clip¶
Retreive the current camera clipping distance.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
|
properties |
||
|
Camera near clipping distance |
|
type |
number |
|
additionalProperties |
False |
get-camera-orthographic¶
Returns the current camera as orthographic.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
|
properties |
||
|
Height of the projection plane |
|
type |
number |
|
additionalProperties |
False |
get-camera-perspective¶
Returns the current camera as perspective.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
|
properties |
||
|
Lens aperture radius |
|
type |
number |
|
|
Camera focus distance |
|
type |
number |
|
|
Vertical field of view |
|
type |
number |
|
additionalProperties |
False |
get-camera-type¶
Returns the type of the current camera.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
string |
get-camera-view¶
Returns the camera view settings.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
||
properties |
|||
|
Camera position XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Camera target XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Camera up vector XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
additionalProperties |
False |
get-color-methods¶
Returns a list of available coloring methods for the model.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
array |
|
items |
type |
string |
get-color-ramp¶
Get the color ramp of the given model.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|||
properties |
||||
|
RGBA colors |
|||
type |
array |
|||
items |
type |
array |
||
items |
type |
number |
||
maxItems |
4 |
|||
minItems |
4 |
|||
maxItems |
256 |
|||
|
Value range |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
2 |
|||
minItems |
2 |
|||
additionalProperties |
False |
get-color-values¶
Returns a list of input variables for a given model and color method.
Params:
type |
object |
|
properties |
||
|
ID of the model that will be colored |
|
type |
integer |
|
minimum |
0 |
|
|
Coloring method which values will be returned |
|
type |
string |
|
additionalProperties |
False |
Result:
type |
array |
|
items |
type |
string |
get-loaders¶
Retreive the description of all available loaders.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
array |
|||
items |
Loader |
|||
type |
object |
|||
properties |
||||
|
True if loader supports loading binary data |
|||
type |
boolean |
|||
|
Supported file formats / extensions |
|||
type |
array |
|||
items |
type |
string |
||
|
JsonSchema |
|||
Loader params schema |
||||
type |
object |
|||
|
Loader name |
|||
type |
string |
|||
|
Plugin required to use the loader |
|||
type |
string |
|||
additionalProperties |
False |
get-material-carpaint¶
Returns the material of the given model as a car paint material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Metal flake density |
|
type |
number |
|
maximum |
1 |
|
minimum |
0 |
|
additionalProperties |
False |
get-material-emissive¶
Returns the material of the given model as a emissive material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
||
properties |
|||
|
Emission color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Emission intensity |
||
type |
number |
||
minimum |
0 |
||
additionalProperties |
False |
get-material-glass¶
Returns the material of the given model as a glass material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Index of refraction of the glass |
|
type |
number |
|
additionalProperties |
False |
get-material-matte¶
Returns the material of the given model as a matte material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Surface opacity |
|
type |
number |
|
maximum |
1 |
|
minimum |
0 |
|
additionalProperties |
False |
get-material-metal¶
Returns the material of the given model as a metal material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Surface roughness |
|
type |
number |
|
maximum |
1 |
|
minimum |
0.01 |
|
additionalProperties |
False |
get-material-phong¶
Returns the material of the given model as a phong material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Surface opacity |
|
type |
number |
|
maximum |
1 |
|
minimum |
0 |
|
additionalProperties |
False |
get-material-plastic¶
Returns the material of the given model as a plastic material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Surface opacity |
|
type |
number |
|
maximum |
1 |
|
minimum |
0 |
|
additionalProperties |
False |
get-material-principled¶
Returns the material of the given model as a principled material, if possible.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
||
properties |
|||
|
Specular anisotropy reflection weight (Specular highlights depends on surface type/shape) |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Rotation of the specular anisotropy reflection effect |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
For thin objects, weight of reflection and transmission (1 = 50/50, 2 = only transmission) |
||
type |
number |
||
maximum |
2 |
||
minimum |
0 |
||
|
Clear coat weight (thin lacquered/glossy layer on top of the surface) |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Clear coat color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Clear coat index of refraction |
||
type |
number |
||
|
Clear coat diffuse/specular reflection roughness |
||
type |
number |
||
|
Clear coat thickness |
||
type |
number |
||
|
Diffuse reflection weight |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Edge tint for metallic surfaces |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Dielectric index of refraction |
||
type |
number |
||
minimum |
1 |
||
|
Alpha parameter between dielectric and metallic |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Diffuse and specular reflection roughness |
||
type |
number |
||
|
Sheen effect weight (fabric-like effect such as satin or velvet) |
||
type |
number |
||
|
Sheen color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Sheen diffuse/specular reflection roughness |
||
type |
number |
||
|
Strenght of sheen color (0 = white, 1 = sheen color) |
||
type |
number |
||
|
Specular reflection/transmission weight |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Thickness of the object if thin = true |
||
type |
number |
||
|
Specified wether the object is solid or thin (hollow) |
||
type |
boolean |
||
|
Specular transmission weight |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
|
Transmission attenuation color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Distance from surface at which the color will equal transmission color |
||
type |
number |
||
additionalProperties |
False |
get-material-type¶
Returns the type of the material of a given model, if any.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
string |
get-model¶
Get all the information of the given model.
Params:
type |
object |
|
properties |
||
|
Model ID |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
get-renderer-interactive¶
Returns the current renderer as interactive renderer, if possible.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
||
properties |
|||
|
Ambient occlusion samples |
||
type |
integer |
||
minimum |
0 |
||
|
Background color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
4 |
||
minItems |
4 |
||
|
Enable casted shadows when rendering |
||
type |
boolean |
||
|
Maximum ray bounces |
||
type |
integer |
||
minimum |
0 |
||
|
Ray samples per pixel |
||
type |
integer |
||
minimum |
1 |
||
additionalProperties |
False |
get-renderer-production¶
Returns the current renderer as production renderer, if possible.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
||
properties |
|||
|
Background color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
4 |
||
minItems |
4 |
||
|
Maximum ray bounces |
||
type |
integer |
||
minimum |
0 |
||
|
Ray samples per pixel |
||
type |
integer |
||
minimum |
1 |
||
additionalProperties |
False |
get-renderer-type¶
Returns the type of the renderer currently being used.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
string |
get-scene¶
Get the current state of the scene.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
||||||
properties |
|||||||
|
Bounds |
||||||
Scene bounds |
|||||||
type |
object |
||||||
properties |
|||||||
|
Top front right corner XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
|
Bottom back left corner XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
additionalProperties |
False |
||||||
|
Scene models |
||||||
type |
array |
||||||
items |
ModelInstance |
||||||
type |
object |
||||||
properties |
|||||||
|
Bounds |
||||||
Model bounds |
|||||||
type |
object |
||||||
properties |
|||||||
|
Top front right corner XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
|
Bottom back left corner XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
additionalProperties |
False |
||||||
|
ModelInfo |
||||||
Model-specific info |
|||||||
type |
object |
||||||
properties |
|||||||
|
Transform |
||||||
Model transform |
|||||||
type |
object |
||||||
properties |
|||||||
|
Rotation XYZW |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
4 |
||||||
minItems |
4 |
||||||
|
Scale XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
|
Translation XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
additionalProperties |
False |
||||||
|
LoadInfo |
||||||
Model load info |
|||||||
type |
object |
||||||
properties |
|||||||
|
Loader settings |
||||||
|
Loader name |
||||||
type |
string |
||||||
|
File path in case of file load type |
||||||
type |
string |
||||||
|
Model load source |
||||||
type |
string |
||||||
enum |
from_file, from_blob, none |
||||||
additionalProperties |
False |
||||||
|
Model-specific metadata |
||||||
type |
object |
||||||
additionalProperties |
type |
string |
|||||
additionalProperties |
False |
||||||
|
Wether the model is being rendered or not |
||||||
type |
boolean |
||||||
|
Model ID |
||||||
type |
integer |
||||||
minimum |
0 |
||||||
|
Model type |
||||||
type |
string |
||||||
|
Transform |
||||||
Model transform |
|||||||
type |
object |
||||||
properties |
|||||||
|
Rotation XYZW |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
4 |
||||||
minItems |
4 |
||||||
|
Scale XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
|
Translation XYZ |
||||||
type |
array |
||||||
items |
type |
number |
|||||
maxItems |
3 |
||||||
minItems |
3 |
||||||
additionalProperties |
False |
||||||
additionalProperties |
False |
||||||
additionalProperties |
False |
get-simulation-parameters¶
Get the current state of the simulation parameters.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
|
properties |
||
|
Current simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Delta time between two frames |
|
type |
number |
|
|
Final simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Initial simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Time unit |
|
type |
string |
|
additionalProperties |
False |
get-version¶
Get Brayns version.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
object |
|
properties |
||
|
Copyright statement |
|
type |
string |
|
|
Major version |
|
type |
integer |
|
|
Minor version |
|
type |
integer |
|
|
Patch version |
|
type |
integer |
|
|
Pre-release |
|
type |
integer |
|
|
Full tag major.minor.path[-preRelease] |
|
type |
string |
|
additionalProperties |
False |
inspect¶
Inspect the scene at x-y position.
Params:
type |
object |
||
properties |
|||
|
Normalized screen position XY |
||
type |
array |
||
items |
type |
number |
|
maxItems |
2 |
||
minItems |
2 |
||
additionalProperties |
False |
Result:
type |
object |
||
properties |
|||
|
True if a model was at given position, otherwise the rest is invalid |
||
type |
boolean |
||
|
Extra attributes depending on the type of model hitted |
||
|
ID of the model that was hit at given position |
||
type |
integer |
||
minimum |
0 |
||
|
World position XYZ where the model was hit |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
additionalProperties |
False |
instantiate-model¶
Creates new instances of the given model. The underneath data is shared across all instances.
Params:
type |
object |
||||
properties |
|||||
|
ID of the model to instantiate |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Transformations to apply to the new instances |
||||
type |
array |
||||
items |
Transform |
||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
Result:
type |
array |
|||||
items |
ModelInstance |
|||||
type |
object |
|||||
properties |
||||||
|
Bounds |
|||||
Model bounds |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
ModelInfo |
|||||
Model-specific info |
||||||
type |
object |
|||||
properties |
||||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
LoadInfo |
|||||
Model load info |
||||||
type |
object |
|||||
properties |
||||||
|
Loader settings |
|||||
|
Loader name |
|||||
type |
string |
|||||
|
File path in case of file load type |
|||||
type |
string |
|||||
|
Model load source |
|||||
type |
string |
|||||
enum |
from_file, from_blob, none |
|||||
additionalProperties |
False |
|||||
|
Model-specific metadata |
|||||
type |
object |
|||||
additionalProperties |
type |
string |
||||
additionalProperties |
False |
|||||
|
Wether the model is being rendered or not |
|||||
type |
boolean |
|||||
|
Model ID |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
|
Model type |
|||||
type |
string |
|||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |
quit¶
Quit the application.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
registry¶
Retreive the names of all registered entrypoints.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
type |
array |
|
items |
type |
string |
remove-model¶
Remove the model(s) from the ID list from the scene.
Params:
type |
object |
||
properties |
|||
|
Model ID list |
||
type |
array |
||
items |
type |
integer |
|
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
render-image¶
Render an image of the current context and retreive it according to given params.
Params:
type |
object |
|
properties |
||
|
Render all images until max accumulation |
|
type |
boolean |
|
default |
False |
|
|
Send image even if nothing new was rendered |
|
type |
boolean |
|
default |
False |
|
|
Encoding of returned image data (jpg or png) |
|
type |
string |
|
default |
jpg |
|
|
Quality if using JPEG encoding |
|
type |
integer |
|
maximum |
100 |
|
minimum |
0 |
|
default |
100 |
|
|
Disable render if set to false (download only) |
|
type |
boolean |
|
default |
True |
|
|
Send image once rendered |
|
type |
boolean |
|
default |
True |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Current frame accumulation |
|
type |
integer |
|
minimum |
0 |
|
|
Maximum frame accumulation |
|
type |
integer |
|
minimum |
0 |
|
additionalProperties |
False |
schema¶
Get the JSON schema of the given entrypoint.
Params:
type |
object |
|
properties |
||
|
Name of the endpoint |
|
type |
string |
|
additionalProperties |
False |
Result:
type |
object |
|
properties |
||
|
Check if the entrypoint is asynchronous (send progress and can be cancelled) |
|
type |
boolean |
|
|
If true, the entrypoint will be removed / renamed in the next release |
|
type |
boolean |
|
|
Description of the entrypoint |
|
type |
string |
|
|
JsonSchema |
|
Input schema |
||
type |
object |
|
|
Name of the plugin that loads the entrypoint |
|
type |
string |
|
|
JsonSchema |
|
Output schema |
||
type |
object |
|
|
Name of the entrypoint (method) |
|
type |
string |
|
additionalProperties |
False |
set-application-parameters¶
Set the current state of the application parameters.
Params:
type |
object |
||
properties |
|||
|
Framebuffer resolution in pixels |
||
type |
array |
||
items |
type |
integer |
|
minimum |
0 |
||
maxItems |
2 |
||
minItems |
2 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-camera-near-clip¶
Update the camera near clipping distance.
Params:
type |
object |
|
properties |
||
|
Camera near clipping distance |
|
type |
number |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-camera-orthographic¶
Sets the current camera to an orthographic one, with the specified parameters.
Params:
type |
object |
|
properties |
||
|
Height of the projection plane |
|
type |
number |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-camera-perspective¶
Sets the current camera to a perspective one, with the specified parameters.
Params:
type |
object |
|
properties |
||
|
Lens aperture radius |
|
type |
number |
|
|
Camera focus distance |
|
type |
number |
|
|
Vertical field of view |
|
type |
number |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-camera-view¶
Sets the camera view settings.
Params:
type |
object |
||
properties |
|||
|
Camera position XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Camera target XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
|
Camera up vector XYZ |
||
type |
array |
||
items |
type |
number |
|
maxItems |
3 |
||
minItems |
3 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-color-ramp¶
Set the color ramp of the given model.
Params:
type |
object |
||||
properties |
|||||
|
ColorRamp |
||||
Color ramp |
|||||
type |
object |
||||
properties |
|||||
|
RGBA colors |
||||
type |
array |
||||
items |
type |
array |
|||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
maxItems |
256 |
||||
|
Value range |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
2 |
||||
minItems |
2 |
||||
additionalProperties |
False |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-framebuffer-progressive¶
Stablishes a progressive-resolution frame rendering on the engine.
Params:
type |
object |
|
properties |
||
|
Frame size reduction factor |
|
type |
integer |
|
minimum |
1 |
|
default |
4 |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-framebuffer-static¶
Stablishes a static frame rendering on the engine.
Params:
This entrypoint has no params, the “params” field can hence be omitted or null.
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-carpaint¶
Updates the material of the given model to a car paint material. This material is only usable with the production renderer.
Params:
type |
object |
||
properties |
|||
|
CarPaint |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Metal flake density |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-emissive¶
Updates the material of the given model to an emisive material. This material is only usable with the production renderer.
Params:
type |
object |
|||
properties |
||||
|
Emissive |
|||
Material parameters |
||||
type |
object |
|||
properties |
||||
|
Emission color |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Emission intensity |
|||
type |
number |
|||
minimum |
0 |
|||
additionalProperties |
False |
|||
|
ID of the model to apply the material |
|||
type |
integer |
|||
minimum |
0 |
|||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-glass¶
Updates the material of the given model to a glass material. This material is only usable with the production renderer.
Params:
type |
object |
||
properties |
|||
|
Glass |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Index of refraction of the glass |
||
type |
number |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-matte¶
Updates the material of the given model to a matte material. This material is only usable with the production renderer.
Params:
type |
object |
||
properties |
|||
|
Matte |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Surface opacity |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-metal¶
Updates the material of the given model to a metal material. This material is only usable with the production renderer.
Params:
type |
object |
||
properties |
|||
|
Metal |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Surface roughness |
||
type |
number |
||
maximum |
1 |
||
minimum |
0.01 |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-phong¶
Updates the material of the given model to the phong material. This material works with all renderers. It has a matte appearance..
Params:
type |
object |
||
properties |
|||
|
Phong |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Surface opacity |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-plastic¶
Updates the material of the given model to a plastic material. This material is only usable with the production renderer.
Params:
type |
object |
||
properties |
|||
|
Plastic |
||
Material parameters |
|||
type |
object |
||
properties |
|||
|
Surface opacity |
||
type |
number |
||
maximum |
1 |
||
minimum |
0 |
||
additionalProperties |
False |
||
|
ID of the model to apply the material |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-material-principled¶
Updates the material of the given model to a principled material. This material is only usable with the production renderer.
Params:
type |
object |
|||
properties |
||||
|
Principled |
|||
Material parameters |
||||
type |
object |
|||
properties |
||||
|
Specular anisotropy reflection weight (Specular highlights depends on surface type/shape) |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Rotation of the specular anisotropy reflection effect |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
For thin objects, weight of reflection and transmission (1 = 50/50, 2 = only transmission) |
|||
type |
number |
|||
maximum |
2 |
|||
minimum |
0 |
|||
|
Clear coat weight (thin lacquered/glossy layer on top of the surface) |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Clear coat color |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Clear coat index of refraction |
|||
type |
number |
|||
|
Clear coat diffuse/specular reflection roughness |
|||
type |
number |
|||
|
Clear coat thickness |
|||
type |
number |
|||
|
Diffuse reflection weight |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Edge tint for metallic surfaces |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Dielectric index of refraction |
|||
type |
number |
|||
minimum |
1 |
|||
|
Alpha parameter between dielectric and metallic |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Diffuse and specular reflection roughness |
|||
type |
number |
|||
|
Sheen effect weight (fabric-like effect such as satin or velvet) |
|||
type |
number |
|||
|
Sheen color |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Sheen diffuse/specular reflection roughness |
|||
type |
number |
|||
|
Strenght of sheen color (0 = white, 1 = sheen color) |
|||
type |
number |
|||
|
Specular reflection/transmission weight |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Thickness of the object if thin = true |
|||
type |
number |
|||
|
Specified wether the object is solid or thin (hollow) |
|||
type |
boolean |
|||
|
Specular transmission weight |
|||
type |
number |
|||
maximum |
1 |
|||
minimum |
0 |
|||
|
Transmission attenuation color |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Distance from surface at which the color will equal transmission color |
|||
type |
number |
|||
additionalProperties |
False |
|||
|
ID of the model to apply the material |
|||
type |
integer |
|||
minimum |
0 |
|||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-renderer-interactive¶
Sets the system renderer to the interactive one.
Params:
type |
object |
||
properties |
|||
|
Ambient occlusion samples |
||
type |
integer |
||
minimum |
0 |
||
|
Background color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
4 |
||
minItems |
4 |
||
|
Enable casted shadows when rendering |
||
type |
boolean |
||
|
Maximum ray bounces |
||
type |
integer |
||
minimum |
0 |
||
|
Ray samples per pixel |
||
type |
integer |
||
minimum |
1 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-renderer-production¶
Sets the system renderer to the production one.
Params:
type |
object |
||
properties |
|||
|
Background color |
||
type |
array |
||
items |
type |
number |
|
maxItems |
4 |
||
minItems |
4 |
||
|
Maximum ray bounces |
||
type |
integer |
||
minimum |
0 |
||
|
Ray samples per pixel |
||
type |
integer |
||
minimum |
1 |
||
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
set-simulation-parameters¶
Set the current state of the simulation parameters.
Params:
type |
object |
|
properties |
||
|
Current simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Delta time between two frames |
|
type |
number |
|
|
Final simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Initial simulation frame index |
|
type |
integer |
|
minimum |
0 |
|
|
Time unit |
|
type |
string |
|
additionalProperties |
False |
Result:
This entrypoint has no result, the “result” field is still present but is always null.
snapshot¶
Take a snapshot with given parameters.
This entrypoint is asynchronous, it means that it can take a long time and send progress notifications.
Params:
type |
object |
|||
properties |
||||
|
EngineObjectData |
|||
Camera definition |
||||
type |
object |
|||
properties |
||||
|
Object type name |
|||
type |
string |
|||
|
Object parameters |
|||
additionalProperties |
False |
|||
|
Camera near clipping distance |
|||
type |
number |
|||
|
View |
|||
Camera view |
||||
type |
object |
|||
properties |
||||
|
Camera position XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Camera target XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
|
Camera up vector XYZ |
|||
type |
array |
|||
items |
type |
number |
||
maxItems |
3 |
|||
minItems |
3 |
|||
additionalProperties |
False |
|||
|
Path to save image, raw encoded data will be returned if empty |
|||
type |
string |
|||
|
ImageSettings |
|||
Image settings |
||||
type |
object |
|||
properties |
||||
|
Image format (jpg or png) |
|||
type |
string |
|||
default |
png |
|||
|
Image quality (0 = lowest quality, 100 = highest quality |
|||
type |
integer |
|||
minimum |
0 |
|||
default |
100 |
|||
|
Image width and height |
|||
type |
array |
|||
items |
type |
integer |
||
minimum |
0 |
|||
maxItems |
2 |
|||
minItems |
2 |
|||
additionalProperties |
False |
|||
|
ImageMetadata |
|||
Metadata information to embed into the image |
||||
type |
object |
|||
properties |
||||
|
Image description |
|||
type |
string |
|||
|
List of keywords to describe the image contents |
|||
type |
array |
|||
items |
type |
string |
||
|
Image title |
|||
type |
string |
|||
|
Event (publication, website, panel, etc.) for what the image was created |
|||
type |
string |
|||
additionalProperties |
False |
|||
|
EngineObjectData |
|||
Renderer definition |
||||
type |
object |
|||
properties |
||||
|
Object type name |
|||
type |
string |
|||
|
Object parameters |
|||
additionalProperties |
False |
|||
|
Simulation frame to render |
|||
type |
integer |
|||
minimum |
0 |
|||
additionalProperties |
False |
Result:
type |
object |
||
properties |
|||
|
ColorBufferMessage |
||
Encoded snapshot color buffer |
|||
type |
object |
||
properties |
|||
|
Data offset in attached binary |
||
type |
integer |
||
minimum |
0 |
||
|
Data size in attached binary |
||
type |
integer |
||
minimum |
0 |
||
additionalProperties |
False |
||
additionalProperties |
False |
update-model¶
Update the model with the given values and return its new state.
Params:
type |
object |
|||||
properties |
||||||
|
ModelInstance |
|||||
Model data to update |
||||||
type |
object |
|||||
properties |
||||||
|
Bounds |
|||||
Model bounds |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
ModelInfo |
|||||
Model-specific info |
||||||
type |
object |
|||||
properties |
||||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
LoadInfo |
|||||
Model load info |
||||||
type |
object |
|||||
properties |
||||||
|
Loader settings |
|||||
|
Loader name |
|||||
type |
string |
|||||
|
File path in case of file load type |
|||||
type |
string |
|||||
|
Model load source |
|||||
type |
string |
|||||
enum |
from_file, from_blob, none |
|||||
additionalProperties |
False |
|||||
|
Model-specific metadata |
|||||
type |
object |
|||||
additionalProperties |
type |
string |
||||
additionalProperties |
False |
|||||
|
Wether the model is being rendered or not |
|||||
type |
boolean |
|||||
|
Model ID |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
|
Model type |
|||||
type |
string |
|||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |
|||||
|
Model ID |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
additionalProperties |
False |
Result:
type |
object |
||||
properties |
|||||
|
Bounds |
||||
Model bounds |
|||||
type |
object |
||||
properties |
|||||
|
Top front right corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Bottom back left corner XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
ModelInfo |
||||
Model-specific info |
|||||
type |
object |
||||
properties |
|||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
|
LoadInfo |
||||
Model load info |
|||||
type |
object |
||||
properties |
|||||
|
Loader settings |
||||
|
Loader name |
||||
type |
string |
||||
|
File path in case of file load type |
||||
type |
string |
||||
|
Model load source |
||||
type |
string |
||||
enum |
from_file, from_blob, none |
||||
additionalProperties |
False |
||||
|
Model-specific metadata |
||||
type |
object |
||||
additionalProperties |
type |
string |
|||
additionalProperties |
False |
||||
|
Wether the model is being rendered or not |
||||
type |
boolean |
||||
|
Model ID |
||||
type |
integer |
||||
minimum |
0 |
||||
|
Model type |
||||
type |
string |
||||
|
Transform |
||||
Model transform |
|||||
type |
object |
||||
properties |
|||||
|
Rotation XYZW |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
4 |
||||
minItems |
4 |
||||
|
Scale XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
|
Translation XYZ |
||||
type |
array |
||||
items |
type |
number |
|||
maxItems |
3 |
||||
minItems |
3 |
||||
additionalProperties |
False |
||||
additionalProperties |
False |
upload-model¶
Upload a model from binary request data and return model descriptors on success.
This entrypoint is asynchronous, it means that it can take a long time and send progress notifications.
Params:
type |
object |
|
properties |
||
|
Loader name |
|
type |
string |
|
|
Loader properties |
|
|
File extension |
|
type |
string |
|
additionalProperties |
False |
Result:
type |
array |
|||||
items |
ModelInstance |
|||||
type |
object |
|||||
properties |
||||||
|
Bounds |
|||||
Model bounds |
||||||
type |
object |
|||||
properties |
||||||
|
Top front right corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Bottom back left corner XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
ModelInfo |
|||||
Model-specific info |
||||||
type |
object |
|||||
properties |
||||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
|
LoadInfo |
|||||
Model load info |
||||||
type |
object |
|||||
properties |
||||||
|
Loader settings |
|||||
|
Loader name |
|||||
type |
string |
|||||
|
File path in case of file load type |
|||||
type |
string |
|||||
|
Model load source |
|||||
type |
string |
|||||
enum |
from_file, from_blob, none |
|||||
additionalProperties |
False |
|||||
|
Model-specific metadata |
|||||
type |
object |
|||||
additionalProperties |
type |
string |
||||
additionalProperties |
False |
|||||
|
Wether the model is being rendered or not |
|||||
type |
boolean |
|||||
|
Model ID |
|||||
type |
integer |
|||||
minimum |
0 |
|||||
|
Model type |
|||||
type |
string |
|||||
|
Transform |
|||||
Model transform |
||||||
type |
object |
|||||
properties |
||||||
|
Rotation XYZW |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
4 |
|||||
minItems |
4 |
|||||
|
Scale XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
|
Translation XYZ |
|||||
type |
array |
|||||
items |
type |
number |
||||
maxItems |
3 |
|||||
minItems |
3 |
|||||
additionalProperties |
False |
|||||
additionalProperties |
False |