vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::StripPoint Struct Reference

One point of a particle strip - a ribbon or a trail - as the vertex stage reads it. More...

#include <particle_data.h>

Public Attributes

glm::vec4 positionWidth
 xyz = world position, w = half the strip's width there.
glm::vec4 color
 Linear RGBA, its intensity in the RGB.
glm::vec4 params
glm::vec4 look

Detailed Description

One point of a particle strip - a ribbon or a trail - as the vertex stage reads it.

Each carries its strip's run and look, so one draw takes every strip of a texture.

Member Data Documentation

◆ params

glm::vec4 Vkm::Engine::StripPoint::params

x = how far along its strip, 0 at its head to 1 at its tail; y, z = its strip's first and last point in RenderView::stripPoints.

◆ look

glm::vec4 Vkm::Engine::StripPoint::look

x = the falloff across its width, as ParticleData::params.x; y = as ParticleData::trail.w; z = 1 on the viewmodel layer.


The documentation for this struct was generated from the following file: