Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RenderModel Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    Contains information related to the Model so that the RenderMesh can access it.

    System.Object → RenderModel
    Derived from RenderModel:

    public class RenderModel
    Name Description
    Fields
    Materials
    Meshes
    Model
    UniqueMeshCount

    The number of Meshes when Meshes was generated.

    | Improve this Doc View Source

    Fields


    Materials

    public RenderModel.MaterialInfo[] Materials
    Field Value
    Type Description
    RenderModel.MaterialInfo[]

    Meshes

    public RenderMesh[] Meshes
    Field Value
    Type Description
    RenderMesh[]

    Model

    public Model Model
    Field Value
    Type Description
    Model

    UniqueMeshCount

    The number of Meshes when Meshes was generated.

    public int UniqueMeshCount
    Field Value
    Type Description
    System.Int32
    Remarks

    A single mesh may be split into multiple RenderMeshes due to multiple material passes.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation