Summary
[Editor-Conditional] Rotational speed measured in
degrees per second (º/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["DegreesPerSecondAttribute"]
class Type type-node
Syntax
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public sealed class DegreesPerSecondAttribute : UnitsAttribute
Remarks
Documentation:
Units Attribute
Attributes
| Type | Description |
|---|---|
| ConditionalAttribute |
Constructors
| Name | Summary |
|---|---|
| Degrees |
Creates a new Animancer.Units.DegreesPerSecondAttribute. |
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
|