Table of Contents

Class ProceduralModelDescriptor

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

A descriptor for a procedural geometry.

[DataContract("ProceduralModelDescriptor")]
[ContentSerializer(typeof(ProceduralModelDescriptorContentSerializer))]
[ContentSerializer(typeof(DataContentSerializer<ProceduralModelDescriptor>))]
public class ProceduralModelDescriptor
Inheritance
ProceduralModelDescriptor

Constructors

ProceduralModelDescriptor()

Initializes a new instance of the ProceduralModelDescriptor class.

public ProceduralModelDescriptor()

ProceduralModelDescriptor(IProceduralModel)

Initializes a new instance of the ProceduralModelDescriptor class.

public ProceduralModelDescriptor(IProceduralModel type)

Parameters

type IProceduralModel

The type.

Properties

Type

Gets or sets the type of geometric primitive.

[DataMember(10)]
[Display("Type", null, Expand = ExpandRule.Always)]
public IProceduralModel Type { get; set; }

Property Value

IProceduralModel

The type of geometric primitive.

Methods

GenerateModel(IServiceRegistry)

public Model GenerateModel(IServiceRegistry services)

Parameters

services IServiceRegistry

Returns

Model

GenerateModel(IServiceRegistry, Model)

public void GenerateModel(IServiceRegistry services, Model model)

Parameters

services IServiceRegistry
model Model