docs.unity.cn
    Show / Hide Table of Contents

    Class LightCluster

    A volume component that holds settings for the ray tracing light cluster.

    Inheritance
    Object
    VolumeComponent
    LightCluster
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenu("Ray Tracing/Light Cluster (Preview)")]
    public sealed class LightCluster : VolumeComponent

    Fields

    cameraClusterRange

    Controls the range of the cluster around the camera.

    Declaration
    [Tooltip("Controls the range of the cluster around the camera.")]
    public ClampedFloatParameter cameraClusterRange
    Field Value
    Type Description
    ClampedFloatParameter

    maxNumLightsPercell

    Controls the maximal number lights in a cell.

    Declaration
    [Tooltip("Controls the maximal number lights in a cell.")]
    public ClampedIntParameter maxNumLightsPercell
    Field Value
    Type Description
    ClampedIntParameter
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 01 April 2021