添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Class RenderSettings

Hierarchy ( view full )

Constructors

Properties

ambient Light : object

Gets or sets the ambient light color used in rendering in js object format: {r:number, g:number, b:number)} where number is from 0 - 255

background Color Bottom : object

Gets or sets the background bottom color used in rendering in js object format: {r:number, g:number, b:number)} where number is from 0 - 255

background Color Top : object

Gets or sets the background top color used in rendering in js object format: {r:number, g:number, b:number)} where number is from 0 - 255 Sets also the background color if a solid background color is set.

depth Cue : boolean

Gets or sets a value indicating whether to render using depth cues. These are clues to help the perception of position and orientation of objects in the image.

dithering : Dithering

If this object is associated with a document, this gets the document dithering. If this object is associated with a File3dm, this gets the File3dm's dithering. Otherwise it gets a 'free-floating' dithering object.

flat Shade : boolean

Gets or sets a value indicating whether to render using flat shading.

ground Plane : GroundPlane

If this object is associated with a document, this gets the document ground plane. If this object is associated with a File3dm, this gets the File3dm's ground plane. Otherwise it gets a 'free-floating' ground plane object.

image Dpi : number

Number of dots/inch (dots=pixels) to use when printing and saving bitmaps. The default is 72.0 dots/inch.

is Valid : boolean

Tests an object to see if it is valid.

is Valid With Log : [ boolean , string ]

...

linear Workflow : LinearWorkflow

If this object is associated with a document, this gets the document linear workflow. If this object is associated with a File3dm, this gets the File3dm's linear workflow. Otherwise it gets a 'free-floating' linear workflow object.

named View : string

Get or set the given named view

post Effects : PostEffect []

If this object is associated with a document, this gets the document post effect data collection. If this object is associated with a File3dm, this gets the File3dm's post effect data collection. Otherwise it gets a 'free-floating' post effect data collection object.

render Annotations : boolean

Gets or sets a value indicating whether to instruct the rendering engine to show annotations, such as linear dimensions or angular dimensions.

render Back Faces : boolean

Gets or sets a value indicating whether to render back faces.

render Channels : RenderChannels

If this object is associated with a document, this gets the document render channels. Otherwise it gets a 'free-floating' render channels object.

render Curves : boolean

Gets or sets a value indicating whether to instruct the rendering engine to show curves.

render Environments : RenderEnvironments
render Iso Params : boolean

Gets or sets a value indicating whether to instruct the rendering engine to show isocurves.

render Mesh Edges : boolean

Gets or sets a value indicating whether to instruct the rendering engine to show mesh edges.

render Points : boolean

Gets or sets a value indicating whether to instruct the rendering engine to show points.

safe Frame : SafeFrame

If this object is associated with a document, this gets the document safe-frame. If this object is associated with a File3dm, this gets the File3dm's safe-frame. Otherwise it gets a 'free-floating' safe-frame object.

scale Background To Fit : boolean

Gets or sets a value indicating whether to scale the wallpaper in the background or not. This is meaningful only if the viewport has a wallpaper and render settings are set to render Wallpaper into the background.

shadow Map Level : number

0=none, 1=normal, 2=best.

skylight : Skylight

If this object is associated with a document, this gets the document skylight. If this object is associated with a File3dm, this gets the File3dm's skylight. Otherwise it gets a 'free-floating' skylight object.

snap Shot : string

Set or get the given snapshot view

specific Viewport : string

Set or get the given specific viewport

sun : Sun

If this object is associated with a document, this gets the document sun. If this object is associated with a File3dm, this gets the File3dm's sun. Otherwise it gets a 'free-floating' sun object.

transparent Background : boolean

Gets or sets whether rendering should be done with transparent background.

use Hidden Lights : boolean

Gets or sets a value indicating whether to render using lights that are on layers that are off.

use Viewport Size : boolean

Gets or sets a value indicating whether to use the resolution of the viewport being rendered or ImageSize when rendering

user String Count : number

Gets the amount of user strings.

Methods

  • Parameters

    • key : string

      id used to retrieve this string.

    • value : string

      string associated with key.

    Returns boolean

    true if successful, false if not.

    Description

    Attach a user string (key,value combination) to this geometry.