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

Result of view.displayColor
NameTypeRequiredDescription
activebooleanno
customRgbobjectno
displaystringno
displayColorManagementbooleanno
lockedVieweranyno
simulationobjectno
workingSpaceanyno
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.