Click or drag to resize

RenderContentSerializer Class

Used to import and export custom render content types such as materials, environments and textures. You must override RenderPlugIn.RenderContentSerializers() and return an array of derived RenderContentSerializer class types to add to the content browsers.
Inheritance Hierarchy
SystemObject
  Rhino.RenderRenderContentSerializer

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class RenderContentSerializer

The RenderContentSerializer type exposes the following members.

Constructors
  NameDescription
Protected methodRenderContentSerializer
Protected constructor to be called from derived class
Top
Properties
  NameDescription
Public propertyCanRead
If true then the file type can be imported and will be included in the file open box when importing the specified render content type.
Public propertyCanWrite
If true then the file type can be exported and will be included in the file save box when exporting the specified render content type.
Public propertyContentType
Type of content created when importing or exporting this file type.
Public propertyEnglishDescription
English string describing this plug-in
Public propertyFileExtension
File extension associated with this serialize object
Public propertyLocalDescription
Localized plug-in description
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Called to when importing a file, file should be parsed and converted to a valid RenderContent object.
Public methodRegisterSerializer
Register the RenderContentSerializer
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Called to save a custom RenderContent object as an external file.
Top
See Also