Documentation

​
​

Development

User Acquisition

Monetization

Industry

Asset Transformer SDK

2026.1

Supported
​

User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

2026.1

Supported
​

Asset Transformer SDK
​
​
pxz
  • Functions
Algo
  • Functions
  • Types
CAD
  • Functions
  • Types
Core
  • Functions
  • Events
  • Types
Geom
  • Functions
  • Types
IO
  • Functions
  • Types
Material
  • Functions
  • Events
  • Types
Polygonal
  • Functions
  • Types
Scene
  • Functions
  • Events
  • Types
Unity
  • Functions
  • Events
    • UnityViewSessionDestroyed
    • UnityViewSessionHasPicked
    • UnityViewSessionInitialized
    • UnityViewSessionResized
  • Types
View
  • Functions
  • Events
  • Types
  1. Asset Transformer SDK (ex Pixyz)

Unity

Python API events
Read time 1 minute
Last updated 9 months ago

UnityViewSessionDestroyed

def onUnityViewSessionDestroyed(session): passid = unity.addUnityViewSessionDestroyedCallback(onUnityViewSessionDestroyed)...unity.removeUnityViewSessionDestroyedCallback(id)
Parameters

Type

Name

Description

UnityViewSessionsessionView session.

UnityViewSessionHasPicked

def onUnityViewSessionHasPicked(result, session): passid = unity.addUnityViewSessionHasPickedCallback(onUnityViewSessionHasPicked)...unity.removeUnityViewSessionHasPickedCallback(id)
Parameters

Type

Name

Description

PickResultresultResult of the picking.
UnityViewSessionsessionView session.

UnityViewSessionInitialized

def onUnityViewSessionInitialized(session, viewer, gpuScene): passid = unity.addUnityViewSessionInitializedCallback(onUnityViewSessionInitialized)...unity.removeUnityViewSessionInitializedCallback(id)
Parameters

Type

Name

Description

UnityViewSessionsessionView session.
ViewerviewerUnderlying viewer of the initialized view session.
GPUScenegpuSceneUnderlying GPU scene of the initialized view session.

UnityViewSessionResized

def onUnityViewSessionResized(session): passid = unity.addUnityViewSessionResizedCallback(onUnityViewSessionResized)...unity.removeUnityViewSessionResizedCallback(id)
Parameters

Type

Name

Description

UnityViewSessionsessionView session.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • UnityViewSessionDestroyed

    • UnityViewSessionHasPicked

    • UnityViewSessionInitialized

    • UnityViewSessionResized


Report a problem with this page