文档

​
​

Development

User Acquisition

Monetization

工业

Asset Transformer SDK

2026.4

受支持
​

User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

2026.4

受支持
​

此页面不支持所选语言。
​
​
Get started
  • System requirements
  • Licensing
  • Setup
    • Python SDK
    • C# SDK
    • Docker
  • Migrate from Scenario Processor
Framework
  • Framework
  • Preferences
Input/output files
  • Supported formats
  • Import files
  • Export files
  • Export textures
  • CAD vs Mesh
Scene
  • Product structure
  • Occurrence
  • Component
  • Material
  • Image
Algorithms
  • CAD
  • Healing
  • Optimization
  • Combine and bake
  • Reconstruction
  • UVs
Viewer
  • Viewer
Pixyz UI
  • Setup
  • Overview
  • Create a custom UI
Guidelines
  • Data preparation
  • Process point clouds
Debug and diagnose
  • Log files
  • Debug best practices
Other
  • Samples
  • Glossary
  1. Asset Transformer SDK (ex Pixyz)

C# SDK

This guide provides step-by-step instructions for installing and setting up the Pixyz C# SDK, including prerequisites, NuGet package installation, licensing, and running your first script.
阅读时间2 分钟
最后更新于 3 个月前

Prerequisites

  • Compatible system
  • Visual Studio
  • .NET SDK
  • A valid Pixyz SDK license on your Pixyz license portal

Setup

About the packaging

The pixyz engine is delivered as a set of NuGet packages. The packages are available on the Pixyz NuGet server in this format:
version-<OS>
. For example:
  • windows: 2024.2.2.3-win64
  • linux: 2024.2.2.3-linux
We apologize but some nuget limitation avoid a single package for all platforms.

Standard install (recommended)

  1. Open a .NET project
  2. Go to
    Tools/NuGet Package Manager/Package Manager Settings/Package Sources
  3. Add a new source
  4. Set source URL to:
    https://unity3ddist.jfrog.io/artifactory/api/nuget/v3/pixyz-nuget-prod-local/index.json
  5. Open
    NuGet Package Manager
    window and look for Pixyz NuGet packages:
    • be sure to set Package source to
      All
    • select "Include prerelease" if you want to see all available packages (
      -win64
      ,
      -linux64
      )
  6. Setup your license
  7. Run your first script

Local install

  1. Download desired package from archive
  2. Open a .NET project
  3. Setup a local NuGet package for Pixyz SDK
    Tools/Options
    :
  4. Install the local package:
    Tools/NuGet Package Manager/Manage NuGet Packages for Solutions
    • Click on
      Browse
    • Change package source to
      Local
    • Install to your C# project
  5. Setup your license
  6. Run your first script

.NET 8

Some .NET version discrepencies may occur.
.NET 8
included a change in how platform-specific packages are loaded. To safely use .NET 8 and depending on your Pixyz release version, you might need a custom configuration to use the Windows package:
  1. Open your project file (.csproj) (right click on project → Edit Project File)
  2. Add the following configuration under your ItemGroup XML tag:
    <RuntimeHostConfigurationOption Include="System.Runtime.Loader.UseRidGraph" Value="true"/>
image

Run your first script

using UnityEngine.Pixyz.API;// init PixyzPiXYZAPI api = PiXYZAPI.Initialize();// print Pixyz versionConsole.WriteLine(api.Core.GetVersion());// if no license is found, try to configure a license serverif (!api.Core.CheckLicense()){ api.Core.ConfigureLicenseServer("company-server-hostname", 27000, true);}// use api.IO.ImportScene to import a file and enjoy :)

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

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

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

  • 在本页上
    • Prerequisites

    • Setup

      • About the packaging

      • Standard install (recommended)

      • Local install

      • .NET 8

    • Run your first script


报告此页面的问题