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)
Since: 5.7
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.
See Also