{!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 LightMaps | Entities Graphics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LightMaps

    Represents a container for light maps.

    Implements
    ISharedComponentData
    IQueryTypeParameter
    Namespace: Unity.Rendering
    Assembly: solution.dll
    Syntax
    public struct LightMaps : ISharedComponentData, IQueryTypeParameter

    Fields

    Name Description
    colors

    An array of color maps.

    directions

    An array of directional maps.

    shadowMasks

    An array of Shadow masks.

    Properties

    Name Description
    hasDirections

    Indicates whether the container stores any directional maps.

    hasShadowMask

    Indicates whether the container stores any shadow masks.

    isValid

    Indicates whether the container stores any color maps.

    Methods

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

    Constructs a LightMaps instance from a list of textures for colors, direction lights, and shadow masks.

    Equals(LightMaps)

    Indicates whether the current object is equal to another object of the same type.

    GetHashCode()

    Calculates the hash code for this object.

    In This Article
    Back to top
    Copyright © 2023 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)