Summary
[Editor-Conditional]
A
Animancer.DefaultValueAttribute which uses the Animancer.AnimancerGraph.DefaultFadeDuration and 0.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- Attribute
- Default
Value Attribute
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 |
|---|---|
| Default |
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 Default
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetToDefault |
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.
From DefaultValues
|