文档

​
​

Development

User Acquisition

Monetization

工业

Unity Cloud

Get Started

Asset Manager SDKs and services

Open Unity Dashboard

Unity Cloud

此页面不支持所选语言。
​
​
Unity Dashboard
  • Accounts
  • Organizations
  • Projects
  • Products
  • Billing
Developer Data
  • Introduction to the Developer Data Framework
  • Get started
  • View Diagnostics for your project
  • Privacy and consent
Unity Asset Manager
  • What's new
  • Asset Manager web
  • Asset Store
  • Manage Assets in the Editor
  • Unity Version Control
  • Developer documentation
    • Asset Manager SDKs and services
    • Integrations
      • Get started with your Asset Manager integration
      • Unity Cloud Python SDK
        • Prerequisites
        • Get started
        • Security information
        • Manage Identity
        • Manage assets
        • Manage asset versions
        • Manage datasets and files
        • Manage metadata
        • Manage collections
        • Manage transformations
        • Manage asset status
        • Manage VCS integrations
        • Open Dashboard
        • Configure Self-Hosted Deployment
        • Samples
        • Configure logs
        • Troubleshooting
      • Unity Pipeline Automation
      • Asset Manager for Unity Asset Transformer Studio
      • Asset Manager for Blender
Unity Pipeline Automation
  • About
  • Get started
  • Pipelines
  • Automations
  • Monitor jobs
  1. Unity Cloud Documentation
  2. Asset Manager
  3. Unity Cloud Python SDK

Manage transformations

Learn how to start and manage transformations using the Python SDK.
阅读时间2 分钟
最后更新于 1 年前

Before you begin

To access and create transformations, make sure the app has the right accesses. Read more about managing Identity.
注意
The following code snippets first require an initialization. To learn more about the
initialize()
and
uninitialize()
methods, read about getting started with the Unity Cloud Python SDK.

How do I...?

Start a transformation

To start a transformation on a given dataset, follow these steps:
  1. Pass all the information to identify the dataset.
  2. Pass the
    WorkflowType
    you would like to start.
The possible values for
WorkflowType
are:
  • THUMBNAIL_GENERATION
  • GLB_PREVIEW
  • DATA_STREAMING
  • TRANSCODE_VIDEO
The returned object is the created transformation. Make sure to retrieve the id contained in the return object to later refresh and track the progress of the transformation.
transformation = unity_cloud.assets.start_transformation( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = "1234abcd-ab12-cd34-ef56-123456abcdef", dataset_id = "1234abcd-12ab-34cd-56ef-123456abcdef", workflow_type = unity_cloud.WorkflowType.THUMBNAIL_GENERATION )

Get a transformation

To get a previously started transformation on a dataset whether already completed or not, pass the information of the dataset and the id of the transformation.
transformation = unity_cloud.assets.get_transformation( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = "1234abcd-ab12-cd34-ef56-123456abcdef", dataset_id = "1234abcd-12ab-34cd-56ef-123456abcdef", workflow_id = "012345678912" )

List transformations

You can list transformations from an organization and project by using one or many of those optional arguments:
  • asset_id : The asset affected by the transformation. Leave empty to search all assets.
  • asset_version : The version of the asset. Leave empty to search all asset versions.
  • dataset_id: The dataset ID. Leave empty to search through all possible datasets.
  • transformation_status. The transformation status. Leave empty to search all transformation statuses.
  • user_id: The user that started the transformation. Leave empty to search all users.
  • limit_to: The maximum of amount of results that should be returned. Leave empty to return everything.
  • skip: Use in combination of limit_to to page through results.
transformations = unity_cloud.assets.list_transformations( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", <optional arguments>)

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Before you begin

    • How do I...?

      • Start a transformation

      • Get a transformation

      • List transformations


报告此页面的问题