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
    • ComponentChanged
    • SceneChanged
    • AnimationAdded
    • AnimationChanged
    • AnimationCleared
    • AnimationRemoved
    • IsolateBegan
    • IsolateEnded
    • SelectionChanged
    • VariantChanged
    • onRayProbe
    • onSphereProbe
  • Types
Unity
  • Functions
  • Events
  • Types
View
  • Functions
  • Events
  • Types
  1. Asset Transformer SDK (ex Pixyz)

Scene

Python API events
Read time 2 minutes
Last updated 9 months ago

ComponentChanged

def onComponentChanged(eventType, occurrence, component): passid = scene.addComponentChangedCallback(onComponentChanged)...scene.removeComponentChangedCallback(id)
Parameters

Type

Name

Description

ComponentChangeTypeeventTypeType of change.
OccurrenceoccurrenceOccurrence the component belongs to.
ComponentcomponentComponent concerned by change.

SceneChanged

def onSceneChanged(eventType, occurrence, child, finalOccurrence): passid = scene.addSceneChangedCallback(onSceneChanged)...scene.removeSceneChangedCallback(id)
Parameters

Type

Name

Description

SceneChangeTypeeventTypeType of change.
OccurrenceoccurrenceOccurrence concerned by change.
OccurrencechildChild occurrence for child insertion/removal.
OccurrencefinalOccurrenceOccurrence in the tree impact by the event.

AnimationAdded

def onAnimationAdded(animation): passid = scene.addAnimationAddedCallback(onAnimationAdded)...scene.removeAnimationAddedCallback(id)
Parameters

Type

Name

Description

AnimationanimationAdded animation.

AnimationChanged

def onAnimationChanged(animation): passid = scene.addAnimationChangedCallback(onAnimationChanged)...scene.removeAnimationChangedCallback(id)
Parameters

Type

Name

Description

AnimationanimationChanged Animation.

AnimationCleared

def onAnimationCleared(): passid = scene.addAnimationClearedCallback(onAnimationCleared)...scene.removeAnimationClearedCallback(id)

AnimationRemoved

def onAnimationRemoved(animation): passid = scene.addAnimationRemovedCallback(onAnimationRemoved)...scene.removeAnimationRemovedCallback(id)
Parameters

Type

Name

Description

AnimationanimationRemoved Animation.

IsolateBegan

def onIsolateBegan(): passid = scene.addIsolateBeganCallback(onIsolateBegan)...scene.removeIsolateBeganCallback(id)

IsolateEnded

def onIsolateEnded(): passid = scene.addIsolateEndedCallback(onIsolateEnded)...scene.removeIsolateEndedCallback(id)

SelectionChanged

def onSelectionChanged(type, occurrences): passid = scene.addSelectionChangedCallback(onSelectionChanged)...scene.removeSelectionChangedCallback(id)
Parameters

Type

Name

Description

SelectionChangeTypetypeType of change (CLEARED, ADDED or REMOVED).
OccurrenceListoccurrencesOnly if type is ADDED or REMOVED, list of added or removed occurrences.

VariantChanged

def onVariantChanged(type, variant): passid = scene.addVariantChangedCallback(onVariantChanged)...scene.removeVariantChangedCallback(id)
Parameters

Type

Name

Description

VariantChangeTypetypeType of change (ADDED, REMOVED, CURRENT_CHANGED).
Variantvariant

onRayProbe

def ononRayProbe(proberID, proberInfo): passid = scene.addonRayProbeCallback(ononRayProbe)...scene.removeonRayProbeCallback(id)
Parameters

Type

Name

Description

IdentproberIDThe ray propber ID.
ProberInfoproberInfoThe prober's info.

onSphereProbe

def ononSphereProbe(proberID, proberInfo): passid = scene.addonSphereProbeCallback(ononSphereProbe)...scene.removeonSphereProbeCallback(id)
Parameters

Type

Name

Description

IdentproberIDThe sphere propber ID.
ProberInfoproberInfoThe prober's info.

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
    • ComponentChanged

    • SceneChanged

    • AnimationAdded

    • AnimationChanged

    • AnimationCleared

    • AnimationRemoved

    • IsolateBegan

    • IsolateEnded

    • SelectionChanged

    • VariantChanged

    • onRayProbe

    • onSphereProbe


Report a problem with this page