docs.unity3d.com
Version: 

    Class LightComponent

    A LightComponent is a component that add a light behavior to an occurrence

    Base class: Component

    classDiagram
        class LightComponent
        Component <|-- LightComponent
        LightComponent : +core.Ident Id
        LightComponent : +ENUM LightType
        LightComponent : +core.Color Color
        LightComponent : +core.Real Power
        LightComponent : +geom.Angle CutOff
    

    Functions accepting this type or a list of this type as a parameter:

    • scene.getComponentOccurrence
    • scene.getComponentType
    • scene.setComponentOccurrence
    • scene.getAnnotationGroups
    • view.drawCappingPlane
    • core.cloneEntity
    • core.deleteEntities
    • core.entityExists
    • core.getEntityType
    • core.getEntityTypeString
    • core.addCustomProperties
    • core.addCustomProperty
    • core.getProperties
    • core.getProperty
    • core.getPropertyInfo
    • core.hasCustomProperty
    • core.hasProperty
    • core.listProperties
    • core.listPropertiesBatch
    • core.removeCustomProperty
    • core.setProperties
    • core.setProperty
    • core.supportCustomProperties
    • core.unsetProperty
    • scene.linkPropertyToAnimation
    • scene.unlinkPropertyToAnimation
    Inheritance
    LightComponent
    Namespace: Scene
    Syntax
    Version 2025.2.0.1
    • 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.