Interface IAnimatorDescription

Custom particle's animator params object.

interface IAnimatorDescription {
    fadeIn?: number;
    fadeOut?: number;
    period?: number;
}

Hierarchy (view full)

Properties

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.

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