TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class SerializableBase in Tinman.Core.IO.Serialization

abstract class SerializableBase implements ISerializable
  base of CameraPath
  ColorRampBase
  ConfigDoc
  Curve
  DatasetInfo
  DatumTransform
  DocumentNode
  GeoAuthority
  GeoObject
  GeoObjectId
  GeoRegistry
  HeightmapFormat
  HeightmapShape
  NoiseFunction
  Path
  RasterTransform
  ShaderEffectSourceInfo
  ShapeBase
  TextureFormat

Public / Attributes

SerialType

Returns the serial type of this object.

public property SerialType { get }
type ISerialTypeInfo
value [not-null] The serial type.
implements ISerializable.SerialType

SerialVersion

Returns the serial data version.

public virtual property SerialVersion { get }
type int32
value [>=1] The serial data version tag.
implements ISerializable.SerialVersion

Remarks:

An ISerializable implementation is required to support all versions up to the one returned by SerialVersion.

See also:

ISerializable.Serialize
ISerializable.Deserialize

Public / Methods

Deserialize

Initializes the state of this object from the given data stream.

public virtual method Deserialize (int32 serialVersion, ISerializer data)
type ISerializable
params serialVersion [>=1] The serial data version.
  data [not-null] The serial data stream.
returns [not-null] The deserialized object. This will typically be this, but in some circumstances, another instance may be returned (e.g. singletons).
implements ISerializable.Deserialize

Remarks:

The Deserialize method will be called immediately after the object has been instantiated via its default constructor.

The provided serialVersion number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).

See also:

ISerializable.Serialize
ISerializable.SerialVersion

Serialize

Serializes the current state of this object to the given data stream.

public virtual method Serialize (ISerializer data)
params data [not-null] The serial data stream.
implements ISerializable.Serialize

See also:

ISerializable.Deserialize
ISerializable.SerialVersion

Protected / Constructors

SerializableBase

Creates a new instance of SerializableBase.

protected constructor SerializableBase (ISerialTypeInfo serialType)
params serialType [not-null] The serial type ID.