RenderContentSerializer.Read Method

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)
Syntax
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: RenderContent
Returns a valid RenderContent object such as RenderMaterial if the file was successfully parsed otherwise returns null.
Version Information

Rhino for Windows

Supported in: 6.8
See Also