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
Methods
Generate(IServiceRegistry, Model)
Creates a procedural model.
void Generate(IServiceRegistry services, Model model)
Parameters
services
IServiceRegistryThe services registry.
model
ModelA model instance to fill with procedural content.
SetMaterial(string, Material)
void SetMaterial(string name, Material material)