docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpotLight

    glTF spot light properties

    Inheritance
    object
    SpotLight
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class SpotLight

    Fields

    Name Description
    innerConeAngle

    Angle, in radians, from centre of spotlight where falloff begins Must be greater than or equal to 0 and less than outerConeAngle

    outerConeAngle

    Angle, in radians, from centre of spotlight where falloff ends. Must be greater than innerConeAngle and less than or equal to PI / 2.0.

    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)