Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MinMaxCurve

A single constant value for the entire curve.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule

MinMaxCurve(float)

A single constant value for the entire curve.
public MinMaxCurve(float constant)

Parameters

constant

Constant value.

MinMaxCurve(float, AnimationCurve)

Use one curve when evaluating numbers along this Min-Max curve.
public MinMaxCurve(float multiplier, AnimationCurve curve)

Parameters

multiplier

A multiplier to apply to the curve.

A single curve to evaluate against.

MinMaxCurve(float, AnimationCurve, AnimationCurve)

Randomly select values based on the interval between the minimum and maximum curves.
public MinMaxCurve(float multiplier, AnimationCurve min, AnimationCurve max)

Parameters

multiplier

A multiplier to apply to the curves.

The curve describing the minimum values to be evaluated.

The curve describing the maximum values to be evaluated.

MinMaxCurve(float, float)

Randomly select values based on the interval between the minimum and maximum constants.
public MinMaxCurve(float min, float max)

Parameters

The constant describing the minimum values to be evaluated.

The constant describing the maximum values to be evaluated.