C# Класс RhinoCyclesCore.Database.EnvironmentDatabase

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
BackgroundWallpaper ( Rhino.DocObjects.ViewInfo view ) : void
BackgroundWallpaper ( Rhino.DocObjects.ViewInfo view, bool scaleToFit ) : void
Dispose ( ) : void
ResetBackgroundChangeQueue ( ) : void

Reset background changes.

SetBackground ( Rhino.Render.RenderEnvironment environment, Rhino.Render.RenderEnvironment usage ) : void

Set the RenderEnvironment for usage

SetBackgroundData ( BackgroundStyle backgroundStyle, System.Drawing color1, System.Drawing color2 ) : void

Set background style and gradient colors. Mark background as modified if any given parameter differs from original.

SetFloatTextureAsByteTexture ( bool floatAsByte ) : void

OpenCL doesn't properly support HDRi textures in the environment, so read them as byte textures instead.

SetGamma ( float gamma ) : void

Set gamma value to use in background shader creation.

SetSkylightEnabled ( bool enable ) : void

Set whether skylight is enabled or not. This will mark background as modified if it is different from old state.

Описание методов

BackgroundWallpaper() публичный Метод

public BackgroundWallpaper ( Rhino.DocObjects.ViewInfo view ) : void
view Rhino.DocObjects.ViewInfo
Результат void

BackgroundWallpaper() публичный Метод

public BackgroundWallpaper ( Rhino.DocObjects.ViewInfo view, bool scaleToFit ) : void
view Rhino.DocObjects.ViewInfo
scaleToFit bool
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

ResetBackgroundChangeQueue() публичный Метод

Reset background changes.
public ResetBackgroundChangeQueue ( ) : void
Результат void

SetBackground() публичный Метод

Set the RenderEnvironment for usage
public SetBackground ( Rhino.Render.RenderEnvironment environment, Rhino.Render.RenderEnvironment usage ) : void
environment Rhino.Render.RenderEnvironment
usage Rhino.Render.RenderEnvironment
Результат void

SetBackgroundData() публичный Метод

Set background style and gradient colors. Mark background as modified if any given parameter differs from original.
public SetBackgroundData ( BackgroundStyle backgroundStyle, System.Drawing color1, System.Drawing color2 ) : void
backgroundStyle BackgroundStyle
color1 System.Drawing
color2 System.Drawing
Результат void

SetFloatTextureAsByteTexture() публичный Метод

OpenCL doesn't properly support HDRi textures in the environment, so read them as byte textures instead.
public SetFloatTextureAsByteTexture ( bool floatAsByte ) : void
floatAsByte bool
Результат void

SetGamma() публичный Метод

Set gamma value to use in background shader creation.
public SetGamma ( float gamma ) : void
gamma float
Результат void

SetSkylightEnabled() публичный Метод

Set whether skylight is enabled or not. This will mark background as modified if it is different from old state.
public SetSkylightEnabled ( bool enable ) : void
enable bool Set to true if enabled.
Результат void