RenderContentSerializer Class

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
Public MustInherit 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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (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 (Inherited from Object.)
Public methodWrite
Called to save a custom RenderContent object as an external file.
Top
Version Information

Rhino for Windows

Supported in: 6.8
See Also