The PinAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PinAttribute | Initializes a new instance of the PinAttribute class |
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DefaultMaxValue | ||
DefaultMinValue | ||
DefaultStepSize |
Properties
Name | Description | |
---|---|---|
AllowDefault | Gets or sets a value that indicates whether the property, field, or parameter will be set to its type's default value when an export with the contract name is not present in the container. (Inherited from ImportAttribute.) | |
AllowRecomposition | Gets or sets a value that indicates whether the property or field will be recomposed when exports with a matching contract have changed in the container. (Inherited from ImportAttribute.) | |
AsInt |
Displays the value of this pin as an integer in the gui, regardless of the actual type.
| |
ContractName | Gets the contract name of the export to import. (Inherited from ImportAttribute.) | |
ContractType | Gets the type of the export to import. (Inherited from ImportAttribute.) | |
DefaultColor |
Array of rgba values in the range [0..1] to define the default color.
| |
DefaultEnumEntry |
String representation of the default enum entry for this pin.
| |
DefaultString |
Default string for this string pin.
| |
DefaultValue |
Default value for this value pin.
| |
DefaultValues |
Array of default values for vector pins.
| |
DimensionNames |
Array of names shown in the gui for each dimension of vector pins.
| |
EnumName |
Name of the dynamic enum, only needed for EnumEntry type.
| |
FileMask |
Filemask in the form of: "Audio File (*.wav, *.mp3)|*.wav;*.mp3".
| |
HasAlpha |
Use alpha channel for this color pin.
| |
IsBang |
Converts a bool pin from toggle to bang.
| |
IsPinGroup |
Converts an ISpread<ISpread<T>> from a bin sized spread to a dynamic pin group.
| |
IsSingle |
Determines whether the pin supports only one slice.
| |
Lazy |
Whether to do lazy loading. The user is responsible to call Load(). This is not
supported by all classes, so you might get a NotImplementedException.
Note: Classes of type ISpread<ISpread<T>> do the lazy loading automatically if enabled.
| |
MaxChars |
Maximum length of the string for this pin.
| |
MaxValue |
Maximum value for this value pin in the gui.
| |
MinValue |
Minimum value for this value pin in the gui.
| |
Name |
The name of this pin
| |
Order |
The order property helps the node to arrange its pins visually. The higher the order, the more right the pin appears on the node.
| |
RequiredCreationPolicy | Gets or sets a value that indicates that the importer requires a specific CreationPolicy for the exports used to satisfy this import. (Inherited from ImportAttribute.) | |
SliceMode |
Slice mode of the pin.
| |
StepSize |
Step size when dragging the value of this pin in the gui.
| |
StringType |
Set a special string type for this string pin.
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
Visibility |
The visibility of the pin in the patch and inspektor.
|