WeightedMaskLayers.

WeightedMaskLayers.Fade Class

Summary

An Animancer.IUpdatable which fades Animancer.WeightedMaskLayers over time.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
graph BT Type-->Base0["Updatable"] click Base0 "/animancer/api/Animancer/Updatable" Base0-->Base1["Object"] Type-.->Interface0["IUpdatable"] click Interface0 "/animancer/api/Animancer/IUpdatable" Type["WeightedMaskLayers.Fade"] class Type type-node

Syntax

public class WeightedMaskLayers.Fade : Updatable, IUpdatable

Properties

Name Value Summary
Duration float
The total amount of time this fade will take (in seconds).
ElapsedTime float
The amount of time that has passed since the start of this fade (in seconds).

Methods

Name Value Summary
Start(WeightedMaskLayers, int, float, Func<float, float>) void
Initializes this fade and registers it to receive updates.
Update() void
Updates this object.