Tesla Graphics Engine Documentation (January 2012)
MaterialCollectionExternalWriter Class
TeslaTesla.Content.LoadersMaterialCollectionExternalWriter
External writer that takes in a number of Material Collections to be serialized to a single or multiple TEM script file.
Declaration Syntax
C#
public sealed class MaterialCollectionExternalWriter : ExternalWriter<MaterialCollection>
Members
All Members Constructors Methods Properties



Icon Member Description
MaterialCollectionExternalWriter()()()()
Initializes a new instance of the MaterialCollectionExternalWriter class.

DefaultOutputName
Gets or sets the default output name.
(Inherited from ExternalWriter.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Flush()()()()
Cleans up any remaining resources and finishes writing external objects.
(Overrides ExternalWriter.Flush()()()().)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
OutputDirectory
Gets or sets the output directory, relative to the primary resource name.
(Inherited from ExternalWriter.)
Overwrite
Gets or sets if the writer should overwrite existing files. Default is true.
(Inherited from ExternalWriter.)
TargetType
Gets the target type of the external reference.
(Inherited from ExternalWriter.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(String, MaterialCollection)
Writes the specified name.
(Overrides ExternalWriter<(Of <(<'MaterialCollection>)>)>.Write(String, T).)
Write(String, ISavable, Type)
Writes the external object and returns the reference to it.
(Inherited from ExternalWriter<(Of <(<'T>)>)>.)
WriteMultipleScripts
Gets or sets if the writer should serialize all material collections to a single TEM file, or each instance to its own unique TEM file. Default is false (write to a single TEM file).

Inheritance Hierarchy
Object
ExternalWriter
  ExternalWriter < (Of < ( <' MaterialCollection > ) > ) >
    MaterialCollectionExternalWriter

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)