PolyToolkit.PolyImportResult

Represents the result of importing an asset.

Summary

Constructors and Destructors

PolyImportResult(GameObject gameObject)

Public attributes

gameObject
GameObject
The GameObject representing the imported asset.
mainThreadThrottler
IEnumerable
The main thread throttler object, if importing in "throttled" mode.

Public attributes

gameObject

GameObject gameObject

The GameObject representing the imported asset.

mainThreadThrottler

IEnumerable mainThreadThrottler

The main thread throttler object, if importing in "throttled" mode.

This will be null if not in throttled mode. Enumerate this on the main thread to gradually perform necessary main thread operations like creating meshes, textures, etc (see documentation for PolyImportOptions for more details).

Public functions

PolyImportResult

 PolyImportResult(
  GameObject gameObject
)