Click or drag to resize

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
)

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.2
See Also