Table of Contents

Class CubeProceduralModel

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

A cube procedural model

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

Constructors

CubeProceduralModel()

Initializes a new instance of the CubeProceduralModel class.

public CubeProceduralModel()

Properties

Size

Gets or sets the size of the cube.

[DataMember(10)]
public Vector3 Size { get; set; }

Property Value

Vector3

The size.

Methods

CreatePrimitiveMeshData()

protected override GeometricMeshData<VertexPositionNormalTexture> CreatePrimitiveMeshData()

Returns

GeometricMeshData<VertexPositionNormalTexture>