Summary
[Editor-Conditional] Acceleration measured in
meters per second per second
(m/s²
).- Assembly
- Animancer
.dll - Namespace
- Animancer
.Units - Base Types
-
- PropertyAttribute
- UnitsAttribute
graph BT
Type-->Base0["UnitsAttribute"]
click Base0 "/animancer/api/Animancer.Units/UnitsAttribute"
Base0-->Base1["PropertyAttribute"]
Type["MetersPerSecondPerSecondAttribute"]
class Type type-node
Syntax
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public sealed class MetersPerSecondPerSecondAttribute : UnitsAttribute
Remarks
Documentation:
Units Attribute
Attributes
Type | Description |
---|---|
ConditionalAttribute |
Constructors
Name | Summary |
---|---|
Meters |
Creates a new Animancer.Units.MetersPerSecondPerSecondAttribute . |
Fields
Name | Constant Value | Summary |
---|---|---|
Multipliers |
The multipliers to convert from the field's actual value to each unit type.
Inherited from UnitsAttribute
|
|
Suffixes |
The unit suffix to display at the end of the value in each field.
Inherited from UnitsAttribute
|
|
UnitIndex |
The index of the multiplier where the field stores its actual value.
Inherited from UnitsAttribute
|
Properties
Name | Value | Summary |
---|---|---|
DefaultValue | float |
The value to display if the actual value is
System.Single.NaN .Inherited from UnitsAttribute
|
DisabledText | string |
Optional text to display instead of the regular fields when the value is
System.Single.NaN .Inherited from UnitsAttribute
|
IsOptional | bool |
Should the field have a toggle to set its value to
System.Single.NaN ?Inherited from UnitsAttribute
|
Rule | Validate |
The validation rule applied to the value.
Inherited from UnitsAttribute
|