HasComponentLabel
A class in Alta.Attributes, the global namespace.
Conditional label attribute that picks one of two labels (and default values) based on whether the object has a given component.
- Listed in Other Alta assemblies
- Inherits or implements
ConditionalLabeling
Constructors
| Member | What it is |
|---|---|
HasComponentLabel(string hasName, string dontHasName, Type componentType) | Creates a HasComponentLabel from hasName, dontHasName, componentType, hasDefaultValue and dontHasDefaultValue. |
HasComponentLabel(string hasName, string dontHasName, Type componentType, float hasDefaultValue, float dontHasDefaultValue) | Creates a HasComponentLabel from hasName, dontHasName, componentType, hasDefaultValue and dontHasDefaultValue. |
Properties
| Member | What it is |
|---|---|
Type ComponentType { get; private set; } | The component type to look for. |