|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Position, color, orientation, and scalar derived from spatial sampling. More...
#include <VertexSampler.hpp>
Collaboration diagram for MayaFlux::Kinesis::SampleResult:Public Attributes | |
| glm::vec3 | color { 1.0F } |
| glm::vec3 | normal { 0.0F, 0.0F, 1.0F } |
| glm::vec3 | position |
| float | scalar { 1.0F } |
| Normalised scalar; maps to size (PointVertex) or thickness (LineVertex) | |
| glm::vec3 | tangent { 1.0F, 0.0F, 0.0F } |
Position, color, orientation, and scalar derived from spatial sampling.
Color is a spatially-derived hint (normalised position, spherical angle, etc.) and may be overridden by the caller. normal and tangent default to the canonical Z-up / X-right frame; distribution functions that have a meaningful surface orientation (sphere surface, torus) should override them. No vertex-type-specific fields are present.
Definition at line 58 of file VertexSampler.hpp.