new ParticleSystemRamp()
MEMBERS
-
inputMaximum :number
-
When using inputType equal to 'EmissionTime', the emission time is divided by this number and the fractional component of the result is used to look up a value in the ramp. This means that particles emitted after this time will use values that wrap around to the beginning of the ramp. When using a non-infinite emissionDuration, it is common to set this value to emissionDuration + emissionTimeRandomness so that the ramp applies over the duration of the particle emission.
-
inputType :string
-
The input type used when evaluating. See nc.particleSystemRampInputTypes for valid values.
-
interpolationType :string
-
The type of interpolation to apply between the keyframes. See nc.constants.particleSystemRampInterpolationTypes for valid values.
-
type :string
-
Type identifier.
METHODS
-
refreshKeyframeOrder()
-
Refreshes the order of the keyframes, ensuring they are stored in order of increasing time.
-
removeKeyframe(x)
-
Removes the keyframe with the given time value.
Parameters:
Name Type Attributes Default Description x
number The time value of the keyframe to remove. If no such keyframe exists, nothing is removed.