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

    Show / Hide Table of Contents

    Struct RenderMesh

    Defines the mesh and rendering properties of an entity during baking.

    Implements
    ISharedComponentData
    IQueryTypeParameter
    Namespace: Unity.Rendering
    Assembly: solution.dll
    Syntax
    [Serializable]
    [MaximumChunkCapacity(128)]
    [TemporaryBakingType]
    public struct RenderMesh : ISharedComponentData, IQueryTypeParameter

    Constructors

    Name Description
    RenderMesh(Renderer, Mesh, List<Material>, int)

    Constructs a RenderMesh using the given Renderer, Mesh, optional list of shared Materials, and option sub-mesh index.

    Fields

    Name Description
    materials

    The material list.

    mesh

    A reference to a UnityEngine.Mesh object.

    subMesh

    The submesh index.

    Properties

    Name Description
    material

    A reference to a UnityEngine.Material object.

    Methods

    Name Description
    Equals(RenderMesh)

    Two RenderMesh objects are equal if their respective property values are equal.

    GetHashCode()

    A representative hash code.

    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)