docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KhrLightsPunctual

    Provides conversion from Unity light components to glTF lights.

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

    Methods

    ConvertToLight(Light)

    Converts a Unity light component to a glTF light.

    Declaration
    public static LightPunctual ConvertToLight(Light uLight)
    Parameters
    Type Name Description
    Light uLight

    Unity light component.

    Returns
    Type Description
    LightPunctual

    glTF light.

    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)