Class Bounds_DirectConverter
Inheritance
object
Bounds_DirectConverter
Inherited Members
Namespace: Unity.VisualScripting.FullSerializer
Assembly: solution.dll
Syntax
public class Bounds_DirectConverter : fsDirectConverter<Bounds>
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 Bounds)
Declaration
protected override fsResult DoDeserialize(Dictionary<string, fsData> data, ref Bounds model)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, fsData> | data | |
| Bounds | model |
Returns
| Type | Description |
|---|---|
| fsResult |
Overrides
DoSerialize(Bounds, Dictionary<string, fsData>)
Declaration
protected override fsResult DoSerialize(Bounds model, Dictionary<string, fsData> serialized)
Parameters
| Type | Name | Description |
|---|---|---|
| Bounds | model | |
| Dictionary<string, fsData> | serialized |
Returns
| Type | Description |
|---|---|
| fsResult |