29 lines
781 B
C#
29 lines
781 B
C#
// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
using System;
|
|
|
|
namespace GLTFast
|
|
{
|
|
/// <summary>
|
|
/// Scene object creation method. Determines whether or when a
|
|
/// GameObject/Entity representing the scene should get created.
|
|
/// </summary>
|
|
public enum SceneObjectCreation
|
|
{
|
|
/// <summary>
|
|
/// Never create a scene object.
|
|
/// </summary>
|
|
Never,
|
|
/// <summary>
|
|
/// Always create a scene object.
|
|
/// </summary>
|
|
Always,
|
|
/// <summary>
|
|
/// Create a scene object if there is more than one root level node.
|
|
/// Otherwise omit creating a scene object.
|
|
/// </summary>
|
|
WhenMultipleRootNodes
|
|
}
|
|
}
|