Documentation

Unity Engine


Unity Engine


MinMaxCurve

A single constant value for the entire curve.
Read time 1 minuteLast updated a month 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 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


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.