docs.unity3d.com
    Show / Hide Table of Contents

    Class InstantiationSettings

    Instantiation settings

    Inheritance
    Object
    InstantiationSettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GLTFast
    Syntax
    [Serializable]
    public class InstantiationSettings

    Properties

    Layer

    Instantiated objects will be assigned to this layer.

    Declaration
    public int Layer { get; set; }
    Property Value
    Type Description
    Int32

    LightIntensityFactor

    Light intensity values are multiplied by this factor.

    Declaration
    public float LightIntensityFactor { get; set; }
    Property Value
    Type Description
    Single

    Mask

    Can be used to exclude component instantiation based on type.

    Declaration
    public ComponentType Mask { get; set; }
    Property Value
    Type Description
    ComponentType

    SceneObjectCreation

    Scene object creation method. Determines whether or when a GameObject/Entity representing the scene should get created.

    Declaration
    public SceneObjectCreation SceneObjectCreation { get; set; }
    Property Value
    Type Description
    SceneObjectCreation

    SkinUpdateWhenOffscreen

    Corresponds to updateWhenOffscreen When true, calculate the mesh bounds on every frame, even when the mesh is not visible.

    Declaration
    public bool SkinUpdateWhenOffscreen { get; set; }
    Property Value
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023