Interface ColorAnimatorDescription

Custom particle's animator params object.

interface ColorAnimatorDescription {
    end?: [number, number, number, number];
    fadeIn?: number;
    fadeOut?: number;
    period?: number;
    start?: [number, number, number, number];
}

Hierarchy (view full)

Properties

end?: [number, number, number, number]

Ending value.

[1, 1, 1, 1]
fadeIn?: number

Appearance moment in the proportions of the period.

0
fadeOut?: number

Disappearance moment in the proportions of the period.

0
period?: number

Animator's period in ticks, if it's less than zero or not listed, it'll be particle's lifetime.

start?: [number, number, number, number]

Initial value.

[1, 1, 1, 1]

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.