Table of Contents

Class SquareProceduralModel

Namespace
Stride.CommunityToolkit.Rendering.ProceduralModels
Assembly
Stride.CommunityToolkit.dll
public class SquareProceduralModel : PrimitiveProceduralModelBase, IProceduralModel
Inheritance
SquareProceduralModel
Implements
Inherited Members

Properties

Size

public Vector2 Size { get; set; }

Property Value

Vector2

Methods

CreatePrimitiveMeshData()

protected override GeometricMeshData<VertexPositionNormalTexture> CreatePrimitiveMeshData()

Returns

GeometricMeshData<VertexPositionNormalTexture>

New(Vector2, float, float, bool)

public static GeometricMeshData<VertexPositionNormalTexture> New(Vector2 size, float uScale = 1, float vScale = 1, bool toLeftHanded = false)

Parameters

size Vector2
uScale float
vScale float
toLeftHanded bool

Returns

GeometricMeshData<VertexPositionNormalTexture>