WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
RibbonEmitter Class Reference

M2 ribbon emitter — produces trailing ribbon effects attached to bones. More...

#include <particle.h>

Collaboration diagram for RibbonEmitter:
[legend]

Public Member Functions

void init (GameFile *f, ModelRibbonEmitterDef &mta, std::vector< uint32 > &globals)
 
void setup (size_t anim, size_t time)
 
void draw ()
 

Public Attributes

WoWModelmodel
 

Private Attributes

Animated< glm::vec3 > color
 
AnimatedShort opacity
 
Animated< float > above
 
Animated< float > below
 
Boneparent
 
glm::vec3 pos
 
size_t manim
 
size_t mtime
 
float length
 
float seglen
 
int numsegs
 
glm::vec3 tpos
 
glm::vec4 tcolor
 
float tabove
 
float tbelow
 
GLuint texture
 
std::list< RibbonSegmentsegs
 

Detailed Description

M2 ribbon emitter — produces trailing ribbon effects attached to bones.

Definition at line 193 of file particle.h.

Member Function Documentation

◆ draw()

void RibbonEmitter::draw ( )

Definition at line 833 of file particle.cpp.

◆ init()

void RibbonEmitter::init ( GameFile f,
ModelRibbonEmitterDef mta,
std::vector< uint32 > &  globals 
)

Definition at line 746 of file particle.cpp.

Here is the call graph for this function:

◆ setup()

void RibbonEmitter::setup ( size_t  anim,
size_t  time 
)

Definition at line 774 of file particle.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ above

Animated<float> RibbonEmitter::above
private

Definition at line 197 of file particle.h.

◆ below

Animated<float> RibbonEmitter::below
private

Definition at line 197 of file particle.h.

◆ color

Animated<glm::vec3> RibbonEmitter::color
private

Definition at line 195 of file particle.h.

◆ length

float RibbonEmitter::length
private

Definition at line 204 of file particle.h.

◆ manim

size_t RibbonEmitter::manim
private

Definition at line 203 of file particle.h.

◆ model

WoWModel* RibbonEmitter::model

Definition at line 216 of file particle.h.

◆ mtime

size_t RibbonEmitter::mtime
private

Definition at line 203 of file particle.h.

◆ numsegs

int RibbonEmitter::numsegs
private

Definition at line 205 of file particle.h.

◆ opacity

AnimatedShort RibbonEmitter::opacity
private

Definition at line 196 of file particle.h.

◆ parent

Bone* RibbonEmitter::parent
private

Definition at line 199 of file particle.h.

◆ pos

glm::vec3 RibbonEmitter::pos
private

Definition at line 201 of file particle.h.

◆ seglen

float RibbonEmitter::seglen
private

Definition at line 204 of file particle.h.

◆ segs

std::list<RibbonSegment> RibbonEmitter::segs
private

Definition at line 213 of file particle.h.

◆ tabove

float RibbonEmitter::tabove
private

Definition at line 209 of file particle.h.

◆ tbelow

float RibbonEmitter::tbelow
private

Definition at line 209 of file particle.h.

◆ tcolor

glm::vec4 RibbonEmitter::tcolor
private

Definition at line 208 of file particle.h.

◆ texture

GLuint RibbonEmitter::texture
private

Definition at line 211 of file particle.h.

◆ tpos

glm::vec3 RibbonEmitter::tpos
private

Definition at line 207 of file particle.h.


The documentation for this class was generated from the following files: