enum ManagedFieldMetaDataFlag
Flags that are used to further define a field in a managed serializable object.
Values
| Name | Value | Description |
|---|---|---|
Serializable |
1 |
Field will be automatically serialized. |
Inspectable |
2 |
Field will be visible in the default inspector. |
Range |
4 |
Integer or floating point field with min/max range. |
Step |
8 |
Integer or floating point field with a minimum increment/decrement step. |
Animable |
16 |
Field can be animated through the animation window. |
AsLayerMask |
32 |
Integer field rendered as a layer selection dropdown. |
PassByCopy |
64 |
Field containing a reference type being passed by copy instead of by reference. |
NotNull |
128 |
Field containing a reference type that should never be null. |
NativeWrapper |
256 |
Field represents a property that wraps a native object. |
ApplyOnDirty |
512 |
When a field changes those changes need to be applied to the parent object by calling the field setter. |
AsQuaternion |
1024 |
When a quaternion is displayed in the inspector, by default it will be displayed as converted into euler angles. |
Category |
2048 |
Fields contains information about a category, which is used for grouping fields under a foldout in the inspector. |
Order |
4096 |
Field contains information about its order relative to other fields. |
Inline |
8192 |
Signifies that the field containing a class/struct should display the child fields of that objects as if they were part of the parent class in the inspector. |
LoadOnAssign |
16384 |
Signifies that a resource reference should be loaded when assigned to field through the inspector. |
HDR |
32768 |
Field containing a color that supports high dynamic range. |