docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GameObjectSceneInstance

    Descriptor of a glTF scene instance

    Inheritance
    object
    GameObjectSceneInstance
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast
    Assembly: glTFast.dll
    Syntax
    public class GameObjectSceneInstance

    Properties

    Cameras

    List of instantiated cameras

    Declaration
    public IReadOnlyList<Camera> Cameras { get; }
    Property Value
    Type Description
    IReadOnlyList<Camera>

    LegacyAnimation

    Animation component. Is null if scene has no animation clips. Only available if the built-in Animation module is enabled.

    Declaration
    public Animation LegacyAnimation { get; }
    Property Value
    Type Description
    Animation

    Lights

    List of instantiated lights

    Declaration
    public IReadOnlyList<Light> Lights { get; }
    Property Value
    Type Description
    IReadOnlyList<Light>

    MaterialsVariantsControl

    Enables controlling and applying materials variants.

    Declaration
    public MaterialsVariantsControl MaterialsVariantsControl { get; }
    Property Value
    Type Description
    MaterialsVariantsControl
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)