Class ImportHelpers
Inherited Members
Namespace: Unity.Formats.USD
Syntax
public static class ImportHelpers
Methods
ImportSceneAsGameObject(Scene, GameObject, SceneImportOptions)
Declaration
public static GameObject ImportSceneAsGameObject(Scene scene, GameObject parent = null, SceneImportOptions importOptions = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Scene | scene | |
| GameObject | parent | |
| SceneImportOptions | importOptions |
Returns
| Type | Description |
|---|---|
| GameObject |
InitForOpen(String, UsdStage.InitialLoadSet)
Declaration
public static Scene InitForOpen(string path = "", UsdStage.InitialLoadSet loadSet = UsdStage.InitialLoadSet.LoadNone)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | |
| UsdStage.InitialLoadSet | loadSet |
Returns
| Type | Description |
|---|---|
| Scene |