sample abstract method

Vector4 sample(
  1. double normalizedAge,
  2. double random01, [
  3. Vector4? out
])

Writes the color for a particle at normalizedAge with per-particle random random01 into out (allocated when null) and returns it.

Implementation

Vector4 sample(double normalizedAge, double random01, [Vector4? out]);