RenderAntialias

Returns or sets render antialiasing style.  Antialiasing is a process where more than one ray is shot per pixel in an attempt to better resolve the value of the

pixel.  Increasing the antialiasing level can add considerable time to the overall rendering.  See Rhino's DocumentProperties command (Rhino Render window) for details.

Syntax

rhinoscriptsyntax.RenderAntialias (style=None)

rhinoscript.document.RenderAntialias (style=None)

Parameters

style

Optional.  Number.  The render antialiasing style.

Value

Description

0

None

1

Normal and slower

2

Best and slowest

Returns

Number

If style is not specified, the current render antialiasing style if successful.

Number

If style  is not specified, the previous render antialiasing style if successful.

Example

import rhinoscriptsyntax as rs

rs.RenderAntialias(1)

Also See

RenderColor

RenderResolution

RenderSettings