TBarycentricGradientSampler.PrepareSampling

procedure PrepareSampling; override;

Description

The PrepareSampling method should be called before calling GetSample, since the barycentric transformation for the given triangle vertices is performed here. See TCustomSampler.PrepareSampling for further details how and when this method is called.

See Also

TCustomSampler.PrepareSampling