Motion kit command
view.displayColor
Viewer Color State
Reports the viewer's colour pipeline: displayColorManagement, output simulation {profile, preserveRgb}, customRgb, display profile, project workingSpace, whether display colour is active, and the locked viewer. Read-only.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- no
Parameters
None.
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "view.displayColor" }]
}The required parameters, with placeholders for their types: not a tested example. motion_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
active | boolean | no | |
customRgb | object | no | |
display | string | no | |
displayColorManagement | boolean | no | |
lockedViewer | any | no | |
simulation | object | no | |
workingSpace | any | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"active": {
"type": "boolean"
},
"customRgb": {
"additionalProperties": true,
"properties": {
"blue": {
"items": {
"type": "number"
},
"type": "array"
},
"gamma": {
"type": "number"
},
"green": {
"items": {
"type": "number"
},
"type": "array"
},
"icc": {
"type": "string"
},
"lutProfile": {
"type": "boolean"
},
"name": {
"type": "string"
},
"red": {
"items": {
"type": "number"
},
"type": "array"
},
"srgbCurve": {
"type": "boolean"
},
"white": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"display": {
"type": "string"
},
"displayColorManagement": {
"type": "boolean"
},
"lockedViewer": {},
"simulation": {
"additionalProperties": true,
"properties": {
"preserveRgb": {
"type": "boolean"
},
"profile": {
"type": "string"
}
},
"type": "object"
},
"workingSpace": {}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.