Table of Contents

Class UVBuilder

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

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

[DataContract("UVBuilder")]
public abstract class UVBuilder
Inheritance
UVBuilder
Derived

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

bufferState ParticleBufferState

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

sorter ParticleList

ParticleList to use to iterate over all particles drawn this frame

texCoordsDescription AttributeDescription

Attribute description of the texture coordinates in the current vertex layout