Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IProceduralModel Interface

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

    Interface to create a procedural model.

    public interface IProceduralModel
    Name Description
    Properties
    MaterialInstances

    Gets the collection of material instances used by this IProceduralModel/

    Methods
    Generate(IServiceRegistry, Model)

    Creates a procedural model.

    SetMaterial(String, Material)
    | Improve this Doc View Source

    Properties


    MaterialInstances

    Gets the collection of material instances used by this IProceduralModel/

    [Display(null, null, Browsable = false)]
    IEnumerable<KeyValuePair<string, MaterialInstance>> MaterialInstances { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, MaterialInstance>>
    | Improve this Doc View Source

    Methods


    Generate(IServiceRegistry, Model)

    Creates a procedural model.

    void Generate(IServiceRegistry services, Model model)
    Parameters
    Type Name Description
    IServiceRegistry services

    The services registry.

    Model model

    A model instance to fill with procedural content.


    SetMaterial(String, Material)

    void SetMaterial(string name, Material material)
    Parameters
    Type Name Description
    System.String name
    Material material

    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