Class Gradient_DirectConverter
Inheritance
object
Gradient_DirectConverter
Inherited Members
Namespace: Unity.VisualScripting.FullSerializer
Assembly: solution.dll
Syntax
public class Gradient_DirectConverter : fsDirectConverter<Gradient>
Methods
CreateInstance(fsData, Type)
Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
Declaration
public override object CreateInstance(fsData data, Type storageType)
Parameters
| Type | Name | Description |
|---|---|---|
| fsData | data | The data the object was serialized with. |
| Type | storageType | The field/property type that is storing the instance. |
Returns
| Type | Description |
|---|---|
| object | An object instance |
Overrides
DoDeserialize(Dictionary<string, fsData>, ref Gradient)
Declaration
protected override fsResult DoDeserialize(Dictionary<string, fsData> data, ref Gradient model)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, fsData> | data | |
| Gradient | model |
Returns
| Type | Description |
|---|---|
| fsResult |
Overrides
DoSerialize(Gradient, Dictionary<string, fsData>)
Declaration
protected override fsResult DoSerialize(Gradient model, Dictionary<string, fsData> serialized)
Parameters
| Type | Name | Description |
|---|---|---|
| Gradient | model | |
| Dictionary<string, fsData> | serialized |
Returns
| Type | Description |
|---|---|
| fsResult |