ComponentPropertyKind enum
The editable type of one component property, used by the inspector to pick a widget, by tooling to validate input, and by the format to know how a value is carried.
Values
- boolean → const ComponentPropertyKind
-
A boolean (BoolValue).
- integer → const ComponentPropertyKind
-
An integer (IntValue).
- number → const ComponentPropertyKind
-
A floating-point number (DoubleValue).
- string → const ComponentPropertyKind
-
A string (StringValue); see ComponentPropertyDef.options for enums.
- vec2 → const ComponentPropertyKind
-
A 2-component vector (Vec2Value).
- vec3 → const ComponentPropertyKind
-
A 3-component vector (Vec3Value).
- vec4 → const ComponentPropertyKind
-
A 4-component vector (Vec4Value).
- quaternion → const ComponentPropertyKind
-
A rotation quaternion (QuaternionValue).
- color → const ComponentPropertyKind
-
A linear RGBA color (ColorValue).
- resourceRef → const ComponentPropertyKind
-
A reference to a document resource (ResourceRefValue); see ComponentPropertyDef.resourceKind.
- nodeRef → const ComponentPropertyKind
-
A reference to a document node (NodeRefValue).
- list → const ComponentPropertyKind
-
An ordered list (ListValue).
- map → const ComponentPropertyKind
-
A string-keyed map (MapValue).
- distribution → const ComponentPropertyKind
-
A scalar value generator (constant, random range, or curve-over-life), carried as a tagged MapValue. See the particle distribution helpers.
- curve → const ComponentPropertyKind
-
A keyframed scalar curve over normalized time, carried as a MapValue holding its control points.
- gradient → const ComponentPropertyKind
-
A keyframed RGBA color gradient over normalized time, carried as a MapValue holding its color stops.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ComponentPropertyKind> - A constant List of the values in this enum, in order of their declaration.