{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct LightData | Universal RP | 15.0.4
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Struct LightData

    Struct that holds settings related to lights.

    상속된 멤버
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    네임스페이스: UnityEngine.Rendering.Universal
    어셈블리: solution.dll
    구문
    public struct LightData

    필드

    이름 설명
    additionalLightsCount

    The number of additional lights visible by the camera.

    mainLightIndex

    Holds the main light index from the VisibleLight list returned by culling. If there's no main light in the scene, mainLightIndex is set to -1. The main light is the directional light assigned as Sun source in light settings or the brightest directional light. CullingResults

    maxPerObjectAdditionalLightsCount

    Maximum amount of lights that can be shaded per-object. This value only affects forward rendering.

    reflectionProbeBlending

    True if blending is enabled for reflection probes.

    reflectionProbeBoxProjection

    True if box projection is enabled for reflection probes.

    shadeAdditionalLightsPerVertex

    True if additional lights should be shaded in vertex shader, otherwise additional lights will be shaded per pixel.

    supportsAdditionalLights

    True if additional lights enabled.

    supportsLightLayers

    True if light layers are enabled.

    supportsMixedLighting

    True if mixed lighting is supported.

    visibleLights

    List of visible lights returned by culling.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)