C# 클래스 RhinoCyclesCore.Database.EnvironmentDatabase

상속: IDisposable
파일 보기 프로젝트 열기: mcneel/RhinoCycles

공개 메소드들

메소드 설명
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