Table of Contents

Class ConeProceduralModel

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

A Cone descriptor

[DataContract("ConeProceduralModel")]
[Display("Cone", null)]
public class ConeProceduralModel : PrimitiveProceduralModelBase, IProceduralModel
Inheritance
ConeProceduralModel
Implements
Inherited Members

Constructors

ConeProceduralModel()

Initializes a new instance of the Cone descriptor class.

public ConeProceduralModel()

Properties

Height

Gets or sets the height.

[DataMember(10)]
public float Height { get; set; }

Property Value

float

The height.

Radius

Gets or sets the radius of the base of the Cone.

[DataMember(20)]
public float Radius { get; set; }

Property Value

float

The radius.

Tessellation

Gets or sets the tessellation factor.

[DataMember(30)]
public int Tessellation { get; set; }

Property Value

int

The tessellation.

Methods

CreatePrimitiveMeshData()

protected override GeometricMeshData<VertexPositionNormalTexture> CreatePrimitiveMeshData()

Returns

GeometricMeshData<VertexPositionNormalTexture>