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

    Show / Hide Table of Contents

    Struct RenderFilterSettings

    Represents settings that control when to render a given entity.

    Implements
    ISharedComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities.Graphics
    Assembly: solution.dll
    Syntax
    public struct RenderFilterSettings : ISharedComponentData, IQueryTypeParameter
    Remarks

    For example, you can set the layermask of the entity and also set whether to render an entity in shadow maps or motion passes.

    Fields

    Name Description
    Layer

    The LayerMask index.

    MotionMode

    Specifies what kinds of motion vectors to generate for the entity, if any.

    ReceiveShadows

    Indicates whether to cast shadows onto the entity.

    RenderingLayerMask

    The rendering layer the entity is part of.

    ShadowCastingMode

    Specifies how the entity should cast shadows.

    StaticShadowCaster

    Indicates whether the entity is a static shadow caster.

    Properties

    Name Description
    Default

    Returns a new default instance of RenderFilterSettings.

    IsInMotionPass

    Indicates whether the motion mode for the current pass is not camera.

    Methods

    Name Description
    Equals(object)

    Indicates whether the current instance is equal to the specified object.

    Equals(RenderFilterSettings)

    Indicates whether the current instance is equal to the specified RenderFilterSettings.

    GetHashCode()

    Calculates the hash code for this object.

    Operators

    Name Description
    operator ==(RenderFilterSettings, RenderFilterSettings)
    operator !=(RenderFilterSettings, RenderFilterSettings)
    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)