C# 클래스 RhinoCyclesCore.CyclesBackground

Helper class to hold background/world shader related data and state
상속: IDisposable
파일 보기 프로젝트 열기: mcneel/RhinoCycles 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PlanarProjection bool
Xml string
background_environment Rhino.Render.RenderEnvironment
background_fill BackgroundStyle
bg CyclesTextureImage
bg_color Color
color1 Color
color2 Color
m_float_as_byte bool
modified bool
refl CyclesTextureImage
refl_color Color
reflection_environment Rhino.Render.RenderEnvironment
sky CyclesTextureImage
sky_color Color
skylight_enabled bool
skylight_environment Rhino.Render.RenderEnvironment
wallpaper CyclesTextureImage
wallpaper_solid Color

공개 메소드들

메소드 설명
Dispose ( ) : void
HandleEnvironments ( ) : void

Read texture data and bg color from environments

HandleWallpaper ( Rhino.DocObjects.ViewInfo view ) : void

Same as HandleWallpaper(ViewInfo, bool), but re-use old scaletofit setting

HandleWallpaper ( Rhino.DocObjects.ViewInfo view, bool scaleToFit ) : void
Reset ( ) : void

Reset modified flag.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

HandleEnvironments() 공개 메소드

Read texture data and bg color from environments
public HandleEnvironments ( ) : void
리턴 void

HandleWallpaper() 공개 메소드

Same as HandleWallpaper(ViewInfo, bool), but re-use old scaletofit setting
public HandleWallpaper ( Rhino.DocObjects.ViewInfo view ) : void
view Rhino.DocObjects.ViewInfo
리턴 void

HandleWallpaper() 공개 메소드

public HandleWallpaper ( Rhino.DocObjects.ViewInfo view, bool scaleToFit ) : void
view Rhino.DocObjects.ViewInfo
scaleToFit bool
리턴 void

Reset() 공개 메소드

Reset modified flag.
public Reset ( ) : void
리턴 void

프로퍼티 상세

PlanarProjection 공개적으로 프로퍼티

public bool PlanarProjection
리턴 bool

Xml 공개적으로 프로퍼티

public string Xml
리턴 string

background_environment 공개적으로 프로퍼티

Environment used for background (360deg environment)
public RenderEnvironment,Rhino.Render background_environment
리턴 Rhino.Render.RenderEnvironment

background_fill 공개적으로 프로퍼티

Get background style.
public BackgroundStyle background_fill
리턴 BackgroundStyle

bg 공개적으로 프로퍼티

Hold texture data for background (360deg)
public CyclesTextureImage,RhinoCyclesCore bg
리턴 CyclesTextureImage

bg_color 공개적으로 프로퍼티

Background color, used if bg is no image
public Color bg_color
리턴 Color

color1 공개적으로 프로퍼티

Solid color or top color for gradient
public Color color1
리턴 Color

color2 공개적으로 프로퍼티

Bottom color for gradient
public Color color2
리턴 Color

m_float_as_byte 공개적으로 프로퍼티

OpenCL doesn't properly support HDRi textures in the environment, so read them as byte textures instead.
public bool m_float_as_byte
리턴 bool

modified 공개적으로 프로퍼티

True if ChangeQueue modified the background
public bool modified
리턴 bool

refl 공개적으로 프로퍼티

Hold texture data for reflection
public CyclesTextureImage,RhinoCyclesCore refl
리턴 CyclesTextureImage

refl_color 공개적으로 프로퍼티

Reflection color, used if refl has no image
public Color refl_color
리턴 Color

reflection_environment 공개적으로 프로퍼티

Custom environment to use for reflections. If not set, use background_environment, solid color or gradient, whichever is used as background
public RenderEnvironment,Rhino.Render reflection_environment
리턴 Rhino.Render.RenderEnvironment

sky 공개적으로 프로퍼티

Hold texture data for skylight
public CyclesTextureImage,RhinoCyclesCore sky
리턴 CyclesTextureImage

sky_color 공개적으로 프로퍼티

Sky color, used if sky has no image
public Color sky_color
리턴 Color

skylight_enabled 공개적으로 프로퍼티

True if skylight is enabled
public bool skylight_enabled
리턴 bool

skylight_environment 공개적으로 프로퍼티

Custom environment used for skylight. If not set, background_environment will be used.
public RenderEnvironment,Rhino.Render skylight_environment
리턴 Rhino.Render.RenderEnvironment

wallpaper 공개적으로 프로퍼티

Hold texture data for wallpaper
public CyclesTextureImage,RhinoCyclesCore wallpaper
리턴 CyclesTextureImage

wallpaper_solid 공개적으로 프로퍼티

Solid bg color to show outside of wallpaper when not set to Stretch to Fit
public Color wallpaper_solid
리턴 Color