Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    UVBuilder Class

    Namespace: Stride.Particles.Materials
    Assembly: Stride.Particles.dll

    Base class for building and animating the texture coordinates in a particle vertex buffer stream

    System.Object → UVBuilder
    Derived from UVBuilder: UVBuilderFlipbook UVBuilderScroll

    [DataContract("UVBuilder")]
    public abstract class UVBuilder
    Name Description
    Methods
    BuildUVCoordinates(ref ParticleBufferState, ref ParticleList, AttributeDescription)

    Enhances or animates the texture coordinates using already existing base coordinates of (0, 0, 1, 1) or similar (base texture coordinates may differ depending on the actual shape)

    | Improve this Doc View Source

    Methods


    BuildUVCoordinates(ref ParticleBufferState, ref ParticleList, AttributeDescription)

    Enhances or animates the texture coordinates using already existing base coordinates of (0, 0, 1, 1) or similar (base texture coordinates may differ depending on the actual shape)

    public abstract void BuildUVCoordinates(ref ParticleBufferState bufferState, ref ParticleList sorter, AttributeDescription texCoordsDescription)
    Parameters
    Type Name Description
    ParticleBufferState bufferState

    The particle buffer state which is used to build the assigned vertex buffer

    ParticleList sorter

    to use to iterate over all particles drawn this frame

    AttributeDescription texCoordsDescription

    Attribute description of the texture coordinates in the current vertex layout


    Extension Methods

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

    Back to top

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