// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors // SPDX-License-Identifier: Apache-2.0 using System; using UnityEngine; namespace GLTFast.Export { /// /// GameObject hierarchies related glTF export settings /// public class GameObjectExportSettings { /// /// When true, only GameObjects that are active (in a hierarchy) are exported /// public bool OnlyActiveInHierarchy { get; set; } = true; /// /// When true, components will get exported regardless whether they're /// enabled or not. /// public bool DisabledComponents { get; set; } /// /// Only GameObjects on layers contained in this mask are going to get exported. /// public LayerMask LayerMask { get; set; } = ~0; } }