Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::ps_soa::emitter_appearance_desc Struct Reference

Color / scale / speed-based appearance authoring. More...

#include <emitter_desc.h>

Public Member Functions

void reset ()
 

Public Attributes

math::gradient< math::colorcolor_gradient
 
math::gradient< frange_tscale_gradient
 
math::vec3 initial_scale_3d {1.0f, 1.0f, 1.0f}
 
float opacity = 1.0f
 
float color_intensity = 1.0f
 
frange_t size_by_speed_range {1.0f, 1.0f}
 
frange_t size_by_speed_velocity_range {0.0f, 10.0f}
 
math::gradient< math::colorcolor_by_speed_gradient
 
frange_t color_by_speed_velocity_range {0.0f, 10.0f}
 

Detailed Description

Color / scale / speed-based appearance authoring.

Definition at line 53 of file emitter_desc.h.

Member Function Documentation

◆ reset()

void unravel::ps_soa::emitter_appearance_desc::reset ( )

Definition at line 40 of file emitter_desc.cpp.

Member Data Documentation

◆ color_by_speed_gradient

math::gradient<math::color> unravel::ps_soa::emitter_appearance_desc::color_by_speed_gradient

Definition at line 62 of file emitter_desc.h.

◆ color_by_speed_velocity_range

frange_t unravel::ps_soa::emitter_appearance_desc::color_by_speed_velocity_range {0.0f, 10.0f}

Definition at line 63 of file emitter_desc.h.

◆ color_gradient

math::gradient<math::color> unravel::ps_soa::emitter_appearance_desc::color_gradient

Definition at line 55 of file emitter_desc.h.

◆ color_intensity

float unravel::ps_soa::emitter_appearance_desc::color_intensity = 1.0f

Definition at line 59 of file emitter_desc.h.

◆ initial_scale_3d

math::vec3 unravel::ps_soa::emitter_appearance_desc::initial_scale_3d {1.0f, 1.0f, 1.0f}

Definition at line 57 of file emitter_desc.h.

◆ opacity

float unravel::ps_soa::emitter_appearance_desc::opacity = 1.0f

Definition at line 58 of file emitter_desc.h.

◆ scale_gradient

math::gradient<frange_t> unravel::ps_soa::emitter_appearance_desc::scale_gradient

Definition at line 56 of file emitter_desc.h.

◆ size_by_speed_range

frange_t unravel::ps_soa::emitter_appearance_desc::size_by_speed_range {1.0f, 1.0f}

Definition at line 60 of file emitter_desc.h.

◆ size_by_speed_velocity_range

frange_t unravel::ps_soa::emitter_appearance_desc::size_by_speed_velocity_range {0.0f, 10.0f}

Definition at line 61 of file emitter_desc.h.


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