DefaultFadeValueAttribute Class

Summary

[Editor-Conditional] A Animancer.DefaultValueAttribute which uses the Animancer.AnimancerGraph.DefaultFadeDuration and 0.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
graph BT Type-->Base0["DefaultValueAttribute"] click Base0 "/animancer/api/Animancer/DefaultValueAttribute" Base0-->Base1["Attribute"] Type["DefaultFadeValueAttribute"] class Type type-node

Syntax

public class DefaultFadeValueAttribute : DefaultValueAttribute

Constructors

Name Summary
DefaultFadeValueAttribute() Creates a new Animancer.DefaultValueAttribute.

Properties

Name Value Summary
Primary Object
The main default value.
Secondary Object
The fallback value to use if the target value was already equal to the Animancer.DefaultValueAttribute.Primary.
Inherited from DefaultValueAttribute

Extension Methods

Name Value Summary
SetToDefault<T>(T) void
[Editor-Only] Sets the `value` equal to the Animancer.DefaultValueAttribute.Primary value. If it was already at the value, it sets it equal to the Animancer.DefaultValueAttribute.Secondary value instead.