Struct TilemapRenderer | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TilemapRenderer

    A component for tilemap rendering. Specifies an {@link Tilemap} to draw, as well as and rendering modifiers, such as a color tint.

    Namespace: Unity.Tiny.Tilemap2D
    Syntax
    public struct TilemapRenderer : IComponentData

    Fields

    blending

    Blending mode for rendering the sprite. The default and regular mode is Alpha.

    Declaration
    public BlendOp blending
    Field Value
    Type Description
    BlendOp

    color

    A color tint to apply to the sprite image. For normal rendering, this should be opaque white (1, 1, 1, 1).

    Declaration
    public Color color
    Field Value
    Type Description
    Color

    tilemap

    Specifies the entity with the {@link Unity.Tiny.Tilemap Tilemap} component that describes the shape to render. If null, looks for the {@link Tilemap} on the same entity as the {@link Tilemap2DRenderer}.

    Declaration
    public Entity tilemap
    Field Value
    Type Description
    Entity
    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