Class FFloatSampler final { using FloatSamplerType = TVariant; FloatSamplerType Sampler;public: FFloatSampler(FCurveSampler&& InSampler); FFloatSampler(FRangesSampler&& InSampler); FFloatSampler(FFloatUniformSampler&& InSampler);float Sample(FRandomStream& Rand) const;bool IsValidSampler() const;friend FArchive& operator<<(FArchive& Ar, FFloatSampler& Sampler); };