CubeProceduralModel Class
Namespace: Stride.Rendering.ProceduralModelsAssembly: Stride.Rendering.dll
A cube procedural model
                 Derived from CubeProceduralModel: 
              
              
              
[DataContract("CubeProceduralModel")]
[Display("Cube", null)]
public class CubeProceduralModel : PrimitiveProceduralModelBase, IProceduralModel| Name | Description | |
|---|---|---|
| Constructors | ||
| CubeProceduralModel() | Initializes a new instance of the CubeProceduralModel class. | |
| Properties | ||
| Size | Gets or sets the size of the cube. | |
| Methods | ||
| CreatePrimitiveMeshData() | ||
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
| Type | Description | 
|---|---|
| Vector3 | The size. | 
Methods
CreatePrimitiveMeshData()
protected override GeometricMeshData<VertexPositionNormalTexture> CreatePrimitiveMeshData()Returns
| Type | Description | 
|---|---|
| GeometricMeshData<VertexPositionNormalTexture> |