Struct LightMaps | Hybrid Renderer | 0.10.0-preview.21
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LightMaps

    Namespace: Unity.Rendering
    Syntax
    public struct LightMaps : ISharedComponentData, IEquatable<LightMaps>

    Fields

    colors

    Declaration
    public Texture2DArray colors
    Field Value
    Type Description
    Texture2DArray

    directions

    Declaration
    public Texture2DArray directions
    Field Value
    Type Description
    Texture2DArray

    shadowMasks

    Declaration
    public Texture2DArray shadowMasks
    Field Value
    Type Description
    Texture2DArray

    Properties

    hasDirections

    Declaration
    public bool hasDirections { get; }
    Property Value
    Type Description
    Boolean

    hasShadowMask

    Declaration
    public bool hasShadowMask { get; }
    Property Value
    Type Description
    Boolean

    isValid

    Declaration
    public bool isValid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    ConstructLightMaps(List<Texture2D>, List<Texture2D>, List<Texture2D>)

    Declaration
    public static LightMaps ConstructLightMaps(List<Texture2D> inColors, List<Texture2D> inDirections, List<Texture2D> inShadowMasks)
    Parameters
    Type Name Description
    List<Texture2D> inColors
    List<Texture2D> inDirections
    List<Texture2D> inShadowMasks
    Returns
    Type Description
    LightMaps

    Equals(LightMaps)

    Declaration
    public bool Equals(LightMaps other)
    Parameters
    Type Name Description
    LightMaps other
    Returns
    Type Description
    Boolean

    GetHashCode()

    A representative hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A number that is guaranteed to be the same when generated from two objects that are the same.

    Overrides
    ValueType.GetHashCode()

    Extension Methods

    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 on 18 October 2023