RhinoCommon API
RenderContentSerializerRead Method |
Called to when importing a file, file should be parsed and converted to
a valid RenderContent object.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)

public abstract RenderContent Read( string pathToFile )
Public MustOverride Function Read ( pathToFile As String ) As RenderContent
Parameters
- pathToFile
- Type: SystemString
Full path of the file to load.
Return Value
Type: RenderContentReturns a valid RenderContent object such as RenderMaterial if the file was successfully parsed otherwise returns null.

Rhino for Windows
Supported in: 6.8