MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::SampleResult Struct Reference

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 }
 

Detailed Description

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.


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