docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LightShapeDescription

    Describes a Spot light cone.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct LightShapeDescription

    Fields

    coneAngle

    The cone angle

    Declaration
    public float coneAngle
    Field Value
    Type Description
    float

    coneSoftness

    The cone softness

    Declaration
    public float coneSoftness
    Field Value
    Type Description
    float

    focus

    The focus distance

    Declaration
    public float focus
    Field Value
    Type Description
    float

    isEnabled

    Whether the cone light is enabled

    Declaration
    public bool isEnabled
    Field Value
    Type Description
    bool

    Methods

    ApplyTolight(Light)

    Applies the described properties the given light

    Declaration
    public void ApplyTolight(Light light)
    Parameters
    Type Name Description
    Light 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)