Class SerializedParameter
Class SerializedParameter, represents the parameter data. Implements the VersionedStruct
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class SerializedParameter : VersionedStruct
Constructors
SerializedParameter(SerializedParameter)
Initializes a new instance of the SerializedParameter class.
Declaration
public SerializedParameter(SerializedParameter p)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedParameter | p | The p. |
Fields
Direction
Direction where this parameter shows up on an embed graph node
Declaration
public PortDirection Direction
Field Value
| Type | Description |
|---|---|
| PortDirection |
FieldExtra
Specifies read/write or extra attributes of this parameter
Declaration
public FieldExtra FieldExtra
Field Value
| Type | Description |
|---|---|
| FieldExtra |
Guid
The unique identifier
Declaration
public string Guid
Field Value
| Type | Description |
|---|---|
| String |
isExposed
True when this parameter is visible in the inspector
Declaration
public bool isExposed
Field Value
| Type | Description |
|---|---|
| Boolean |
kVersion
Current File format version for SerializedParameter
Declaration
public const int kVersion = 2
Field Value
| Type | Description |
|---|---|
| Int32 |
Name
The name
Declaration
public string Name
Field Value
| Type | Description |
|---|---|
| String |
Type
The type name of this parameter
Declaration
public string Type
Field Value
| Type | Description |
|---|---|
| String |
Value
The serialized string value
Declaration
public string Value
Field Value
| Type | Description |
|---|---|
| String |
Properties
CurrentVersion
Gets the current version.
Declaration
public override int CurrentVersion { get; }
Property Value
| Type | Description |
|---|---|
| Int32 | The current version. |
Overrides
Methods
CopyFrom(SerializedParameter)
Copies from.
Declaration
public void CopyFrom(SerializedParameter other)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedParameter | other | The other. |
Create()
Creates this instance.
Declaration
public static SerializedParameter Create()
Returns
| Type | Description |
|---|---|
| SerializedParameter | SerializedParameter. |
Equals(SerializedParameter)
Test for equality with other object.
Declaration
public virtual bool Equals(SerializedParameter other)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedParameter | other | The other object. |
Returns
| Type | Description |
|---|---|
| Boolean |
|