Table of Contents

Interface IProceduralModel

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

Interface to create a procedural model.

public interface IProceduralModel

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

IEnumerable<KeyValuePair<string, MaterialInstance>>

Methods

Generate(IServiceRegistry, Model)

Creates a procedural model.

void Generate(IServiceRegistry services, Model model)

Parameters

services IServiceRegistry

The services registry.

model Model

A model instance to fill with procedural content.

SetMaterial(string, Material)

void SetMaterial(string name, Material material)

Parameters

name string
material Material