Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TextureCoordinatePolicy Enum

    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

    Name Description
    AsIs

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

    DistanceBased

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

    Stretched

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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<TextureCoordinatePolicy>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<TextureCoordinatePolicy>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation