Click or drag to resize

RenderSettingsRenderEnvironmentId Method

Get the id of the render environment for a particular usage. If usage is Background and the background mode is set to 'Solid Color' or 'Gradient' (i.e., not 'Environment'), then Guid.Empty will be returned.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public Guid RenderEnvironmentId(
	RenderSettingsEnvironmentUsage usage,
	RenderSettingsEnvironmentPurpose purpose
)

Parameters

usage
Type: Rhino.RenderRenderSettingsEnvironmentUsage

[Missing <param name="usage"/> documentation for "M:Rhino.Render.RenderSettings.RenderEnvironmentId(Rhino.Render.RenderSettings.EnvironmentUsage,Rhino.Render.RenderSettings.EnvironmentPurpose)"]

purpose
Type: Rhino.RenderRenderSettingsEnvironmentPurpose

[Missing <param name="purpose"/> documentation for "M:Rhino.Render.RenderSettings.RenderEnvironmentId(Rhino.Render.RenderSettings.EnvironmentUsage,Rhino.Render.RenderSettings.EnvironmentPurpose)"]

Return Value

Type: Guid

[Missing <returns> documentation for "M:Rhino.Render.RenderSettings.RenderEnvironmentId(Rhino.Render.RenderSettings.EnvironmentUsage,Rhino.Render.RenderSettings.EnvironmentPurpose)"]

See Also