Table of Contents

Enum TextureCoordinatePolicy

Namespace
Stride.Particles.ShapeBuilders
Assembly
Stride.Particles.dll

Specifies how texture coordinates should be assigned to the ribbonized mesh.

[DataContract("TextureCoordinatePolicy")]
[Display("Tex Coordinates", null)]
public enum TextureCoordinatePolicy

Fields

AsIs = 0

AsIs will assign a (0, 0, 1, 1) quad to each segment along the ribbon.

DistanceBased = 2

DistanceBased will assign a (0, 0, 1, Length) quad stretched over the entire ribbon, where Length is the actual length of the ribbon.

Stretched = 1

Stretched will assign a (0, 0, 1, X) quad stretched over the entire ribbon, where X is user-defined.