Struct MeshRenderer | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    Show / Hide Table of Contents

    Struct MeshRenderer

    Mesh renderer component containing a reference to a material to render with and submesh information

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct MeshRenderer : IComponentData

    Fields

    indexCount

    Declaration
    public int indexCount
    Field Value
    Type Description
    Int32

    material

    Declaration
    public Entity material
    Field Value
    Type Description
    Entity

    mesh

    Declaration
    public Entity mesh
    Field Value
    Type Description
    Entity

    startIndex

    Declaration
    public int startIndex
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021