Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for Oskyshader

Oskyshader

Attributes

  • ENGLISH NAME : PhysicalSky
  • INCLUDE : Obase
  • NAME : Oskyshader
  • PATH : sky/description/oskyshader.res
  • PLUGIN : sky
  • MAXON online help (may not exist): OSKYSHADER

Elements

ID UI Name Type Parameters Cycle
SKY_PRESET LoadSkyPreset... BUTTON  
SKY_WEATHERPRESET LoadWeatherPreset... BUTTON  
SKY_TIMEANDLOCATION TimeandLocation BOOL
PAGE
HIDDEN
PARENTMSG ID_SKY_GROUP_DATE_TIME
SKY_PHYSICALSKYPAGE Sky BOOL PARENTMSG
SKY_PHYSICAL_SUN_ENABLE Sun BOOL PARENTMSG
SKY_PHYSICAL_ATM_ENABLE Atmosphere BOOL PARENTMSG
SKY_CLOUD_ENABLE Clouds BOOL PARENTMSG
SKY_DETAILS Details BOOL
PAGE
HIDDEN
PARENTMSG ID_SKY_GROUP_GENERAL
SKY_VOL_CLOUDS_RENDER VolumetricClouds BOOL PARENTMSG
SKY_FOG_ENABLE Fog BOOL PARENTMSG
SKY_RAINBOW_RENDER Rainbow BOOL PARENTMSG
SKY_BEAMS_ENABLE Sunbeams BOOL PARENTMSG
SKY_DATE_TIME Time DATETIME
PARENTCOLLAPSE
NOW_BUTTON
ANIM MIX
OPEN
SKY_TIME_NOW CurrentTime BOOL
ANIM OFF
PARENTCOLLAPSE SKY_DATE_TIME
SKY_DATE_TODAY Today BOOL
ANIM OFF
PARENTCOLLAPSE SKY_DATE_TIME
SKY_DATE_ANIMATE AnimateDate BOOL
ANIM OFF
PARENTCOLLAPSE SKY_DATE_TIME
SKY_TIME_ANIMATE AnimateTime BOOL
ANIM OFF
PARENTCOLLAPSE SKY_DATE_TIME
SKY_POS_CITY x STRING HIDDEN
SKY_POS_CITY_COMBO City LONG
PARENTCOLLAPSE
CUSTOMGUI SKY_II_CITYLIST
ANIM OFF
SKY_POS_LATITUDE Latitude REAL
UNIT DEGREE
CUSTOMGUI LONG_LAT
ANIM MIX
MIN -90
MAX 90
PARENTCOLLAPSE SKY_POS_CITY_COMBO
SKY_POS_LONGITUDE Longitude REAL
UNIT DEGREE
CUSTOMGUI LONG_LAT
ANIM MIX
LONGITUDE
MIN -180
MAX 180
PARENTCOLLAPSE SKY_POS_CITY_COMBO
SKY_POS_TIMEZONE TimeZone LONG PARENTCOLLAPSE
SKY_POS_TZ_OS OperatingSystem
SKY_POS_TZ_CUSTOM Custom
SKY_POS_DST_SETTINGS DaylightSaving LONG PARENTCOLLAPSE
SKY_POS_DST_OFF Off
SKY_POS_DST_LAST_MARCH_LAST_OCT LastMarchSundaytoLastOct.Sunday
SKY_POS_DST_SECOND_MARCH_FIRST_NOV SecondMarchSundaytoFirstNov.Sunday
SKY_POS_DST_FIRST_APR_LAST_OCT FirstAprilSundaytoLastOct.Sunday
SKY_POS_DST_FIRST_OCT_LAST_MARCH FirstOctoberSundaytoLastMarchSunday
SKY_POS_DST_LAST_OCT_LAST_MARCH LastOctoberSundaytoLastMarchSunday
SKY_POS_TIME_ZONE TimeZoneDiff. REAL PARENTCOLLAPSE
SKY_POS_DST_TIME_ZONE DSTimeZone REAL PARENTCOLLAPSE
SKY_PHYSICAL_SKY_ENABLE PhysicalSky BOOL  
SKY_REAL_SKY_SKY_HORIZON HorizonLine BOOL  
SKY_REAL_SKY_SKY_COLOR_WARMNESS ColorWarmth REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
MAXSLIDER 100.0
SKY_REAL_SKY_SKY_INTENSITY Intensity REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_SKY_INTENSITY_NIGHT NightIntensityRatio REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_SKY_SATURATION SaturationCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 200.0
MAXSLIDER 200.0
SKY_REAL_SKY_SKY_HUE HueCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
SKY_REAL_SKY_SKY_GAMMA GammaCorrection REAL
UNIT REAL
MIN 0.1
MAX 10.0
MINSLIDER 0.1
MAXSLIDER 10.0
STEP 0.01
SKY_REAL_SKY_SKY_SEEN_INTENSITY AsSeenIntensity REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_SKY_DITHER Dithering REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
MAXSLIDER 100.0
SKY_REAL_SKY_TURBIDITY Turbidity REAL
UNIT REAL
MIN 2.0
MAX 32.0
MAXSLIDER 32.0
STEP 0.1
SKY_REAL_SKY_OZONE Ozone(cm) REAL
UNIT REAL
MIN 0.0
MAX 50.0
MAXSLIDER 50.0
STEP 0.1
SKY_GENERAL_USER_HORIZON CustomHorizon BOOL  
SKY_GENERAL_USER_HORIZON_MAX_ALT Max.Altitude REAL
UNIT DEGREE
MIN 0
MAX 90
SKY_GENERAL_USER_COLOR Color GRADIENT
PARENTID SKY_GENERAL_USER_HORIZON
COLOR
ICC_BASEDOCUMENT
SKY_GENERAL_STRENGTH AtmosphereStrength REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_GENERAL_MOISTURE EffectsTurbidity REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_GENERAL_HORIZON_START HorizonStart REAL
UNIT DEGREE
MIN -89
MAX 89
SKY_GENERAL_EARTH_RADIUS EarthRadius(km) REAL MIN
SKY_REAL_SKY_SUN_COLOR PreviewColor COLOR ANIM
SKY_REAL_SKY_SUN_INTENSITY Intensity REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_SUN_SATURATION SaturationCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 200.0
MAXSLIDER 200.0
SKY_REAL_SKY_SUN_HUE HueCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
SKY_REAL_SKY_SUN_GAMMA GammaCorrection REAL
UNIT REAL
MIN 0.1
MAX 10.0
MINSLIDER 0.1
MAXSLIDER 10.0
STEP 0.01
SKY_REAL_SKY_SUN_SIZE_RATIO SizeRatio REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_SUN_SEEN_INTENSITY AsSeenIntensity REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_GENERAL_CHANGE_SUN_COL CustomColor BOOL  
SKY_GENERAL_SUN_COLOR Color COLOR PARENTID
SKY_GENERAL_LENSFLARES Lensflares BOOL PARENTCOLLAPSE
SKY_GENERAL_MAX_FLARE_GLOW GlowIntensity REAL
PARENTCOLLAPSE SKY_GENERAL_LENSFLARES
UNIT PERCENT
MIN 0
MAX 100
SKY_GENERAL_MAX_FLARE_REFL FlareIntensity REAL
PARENTCOLLAPSE SKY_GENERAL_LENSFLARES
UNIT PERCENT
MIN 0
MAX 100
SKY_GENERAL_SUN_DIST_SCALE DistanceScale REAL
UNIT PERCENT
MIN 0
MINSLIDER 0
MAXSLIDER 100
STEP 0.01
SKY_OBJECT_SUN_OBJECT CustomSunObject LINK  
SKY_REAL_SKY_SUN_SHADOW_TYPE ShadowType LONG  
SKY_SUN_SHADOW_TYPE_NONE None
SKY_SUN_SHADOW_TYPE_HARD Raytraced(Hard)
SKY_SUN_SHADOW_TYPE_AREA Area
SKY_REAL_SKY_SUN_SHADOW_DENSITY Density REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
SKY_REAL_SKY_SUN_SHADOW_COLOR ShadowColor COLOR  
SKY_REAL_SKY_SUN_SHADOW_TRANSPARENCY Transparency BOOL  
SKY_REAL_SKY_SUN_SAMPLING_QUALITY ShadowAccuracy REAL
MIN 0.0
MAX 100.0
UNIT PERCENT
SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MIN MinimumSamples LONG
MIN 1
MAX 16384
MINSLIDER 1
MAXSLIDER 4096
STEP 4
SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MAX MaximumSamples LONG
MIN 4
MAX 16384
MINSLIDER 4
MAXSLIDER 4096
STEP 16
SKY_REAL_SKY_ATM_INTENSITY Intensity REAL
UNIT PERCENT
MIN 0.0
MAX 1000.0
MAXSLIDER 1000.0
SKY_REAL_SKY_ATM_HORIZON HorizonFade REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
MAXSLIDER 100.0
SKY_REAL_SKY_ATM_SATURATION SaturationCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 200.0
MAXSLIDER 200.0
SKY_REAL_SKY_ATM_HUE HueCorrection REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
SKY_REAL_SKY_ATM_GAMMA GammaCorrection REAL
UNIT REAL
MIN 0.1
MAX 10.0
MINSLIDER 0.1
MAXSLIDER 10.0
STEP 0.01
SKY_REAL_SKY_ATM_SCALE_RATIO WorldScaleRatio REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
MAXSLIDER 10000.0
SKY_REAL_SKY_ATM_DITHER Dithering REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
MAXSLIDER 100.0
SKY_CLOUD_ROLLOFF Rolloff GRADIENT
ALPHA
ICC_BASEDOCUMENT
NOPRESETS
SKY_CLOUDS_SHADOW CastShadows BOOL  
SKY_CLOUD_1_ACTIVE Layer1 BOOL  
SKY_CLOUD_2_ACTIVE Layer2 BOOL  
SKY_CLOUD_3_ACTIVE Layer3 BOOL  
SKY_CLOUD_4_ACTIVE Layer4 BOOL  
SKY_CLOUD_5_ACTIVE Layer5 BOOL  
SKY_CLOUD_6_ACTIVE Layer6 BOOL  
SKY_CLOUD_1_NOISE Noise1 LONG CUSTOMGUI
SKY_CLOUD_1_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_1_COLOR Color1 COLOR  
SKY_CLOUD_1_HEIGHT Height1 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_1_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_1_DENSITY Density1 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_1_COVERAGE Coverage1 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_1_THICKNESS Thickness1 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_1_TRANSPARENCY Transparency1 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_1_SPEED Anim.Speed1 REAL UNIT
SKY_CLOUD_1_OFFSET NoiseOffset1 REAL  
SKY_CLOUD_1_SCALE_NS ScaleN-S1 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_1_SCALE_WE ScaleW-E1 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_1_MOVE_NS Pos.N-S1 REAL UNIT
SKY_CLOUD_1_MOVE_WE Pos.W-E1 REAL UNIT
SKY_CLOUD_2_NOISE Noise2 LONG CUSTOMGUI
SKY_CLOUD_2_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_2_COLOR Color2 COLOR  
SKY_CLOUD_2_HEIGHT Height2 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_2_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_2_DENSITY Density2 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_2_COVERAGE Coverage2 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_2_THICKNESS Thickness2 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_2_TRANSPARENCY Transparency2 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_2_SPEED Anim.Speed2 REAL UNIT
SKY_CLOUD_2_OFFSET NoiseOffset2 REAL  
SKY_CLOUD_2_SCALE_NS ScaleN-S2 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_2_SCALE_WE ScaleW-E2 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_2_MOVE_NS Pos.N-S2 REAL UNIT
SKY_CLOUD_2_MOVE_WE Pos.W-E2 REAL UNIT
SKY_CLOUD_3_NOISE Noise3 LONG CUSTOMGUI
SKY_CLOUD_3_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_3_COLOR Color3 COLOR  
SKY_CLOUD_3_HEIGHT Height3 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_3_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_3_DENSITY Density3 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_3_COVERAGE Coverage3 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_3_THICKNESS Thickness3 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_3_TRANSPARENCY Transparency3 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_3_SPEED Anim.Speed3 REAL UNIT
SKY_CLOUD_3_OFFSET NoiseOffset3 REAL  
SKY_CLOUD_3_SCALE_NS ScaleN-S3 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_3_SCALE_WE ScaleW-E3 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_3_MOVE_NS Pos.N-S3 REAL UNIT
SKY_CLOUD_3_MOVE_WE Pos.W-E3 REAL UNIT
SKY_CLOUD_4_NOISE Noise4 LONG CUSTOMGUI
SKY_CLOUD_4_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_4_COLOR Color4 COLOR  
SKY_CLOUD_4_HEIGHT Height4 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_4_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_4_DENSITY Density4 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_4_COVERAGE Coverage4 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_4_THICKNESS Thickness4 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_4_TRANSPARENCY Transparency4 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_4_SPEED Anim.Speed4 REAL UNIT
SKY_CLOUD_4_OFFSET NoiseOffset4 REAL  
SKY_CLOUD_4_SCALE_NS ScaleN-S4 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_4_SCALE_WE ScaleW-E4 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_4_MOVE_NS Pos.N-S4 REAL UNIT
SKY_CLOUD_4_MOVE_WE Pos.W-E4 REAL UNIT
SKY_CLOUD_5_NOISE Noise5 LONG CUSTOMGUI
SKY_CLOUD_5_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_5_COLOR Color5 COLOR  
SKY_CLOUD_5_HEIGHT Height5 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_5_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_5_DENSITY Density5 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_5_COVERAGE Coverage5 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_5_THICKNESS Thickness5 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_5_TRANSPARENCY Transparency5 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_5_SPEED Anim.Speed5 REAL UNIT
SKY_CLOUD_5_OFFSET NoiseOffset5 REAL  
SKY_CLOUD_5_SCALE_NS ScaleN-S5 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_5_SCALE_WE ScaleW-E5 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_5_MOVE_NS Pos.N-S5 REAL UNIT
SKY_CLOUD_5_MOVE_WE Pos.W-E5 REAL UNIT
SKY_CLOUD_6_NOISE Noise6 LONG CUSTOMGUI
SKY_CLOUD_6_SAVE_PRESET SaveasPreset... BUTTON  
SKY_CLOUD_6_COLOR Color6 COLOR  
SKY_CLOUD_6_HEIGHT Height6 REAL
UNIT METER
MIN 0
MAX 50000
SKY_CLOUD_6_PREVIEW MATPREVIEW OPEN
SKY_CLOUD_6_DENSITY Density6 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_6_COVERAGE Coverage6 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_6_THICKNESS Thickness6 REAL
UNIT PERCENT
MIN 0
MAX 5000
MINSLIDER 0
MAXSLIDER 500
SKY_CLOUD_6_TRANSPARENCY Transparency6 REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_CLOUD_6_SPEED Anim.Speed6 REAL UNIT
SKY_CLOUD_6_OFFSET NoiseOffset6 REAL  
SKY_CLOUD_6_SCALE_NS ScaleN-S6 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_6_SCALE_WE ScaleW-E6 REAL
UNIT PERCENT
MIN 1
MINSLIDER 1
MAXSLIDER 1000
SKY_CLOUD_6_MOVE_NS Pos.N-S6 REAL UNIT
SKY_CLOUD_6_MOVE_WE Pos.W-E6 REAL UNIT
SKY_ASTRO_MOON_SHOW ShowMoon BOOL PARENTCOLLAPSE
SKY_GENERAL_SCALE_MOON Scale REAL
UNIT PERCENT
MIN 0.1
MINSLIDER 0.1
MAXSLIDER 20000
PARENTCOLLAPSE SKY_ASTRO_MOON_SHOW
SKY_GENERAL_MOON_BRIGHT BrightIntensity REAL
UNIT PERCENT
MIN 0
MAX 100
PARENTCOLLAPSE SKY_ASTRO_MOON_SHOW
SKY_GENERAL_MOON_DARK DarkIntensity REAL
UNIT PERCENT
MIN 0
MAX 100
PARENTCOLLAPSE SKY_ASTRO_MOON_SHOW
SKY_GENERAL_MOON_DIST_SCALE DistanceScale REAL
UNIT PERCENT
MIN 0
MINSLIDER 0
MAXSLIDER 100
STEP 0.01
PARENTCOLLAPSE SKY_ASTRO_MOON_SHOW
SKY_OBJECT_MOON_OBJECT CustomMoonObject LINK PARENTCOLLAPSE
SKY_ASTRO_SHOW_STARS ShowStars BOOL PARENTCOLLAPSE
SKY_GENERAL_MIN_MAG MinMagnitude REAL
MIN 0
MAX 10.5
MINSLIDER 0
MAXSLIDER 10.5
STEP .1
PARENTCOLLAPSE SKY_ASTRO_SHOW_STARS
SKY_GENERAL_RESIZE_STARS ResizeStarswithMagnitude BOOL PARENTCOLLAPSE
SKY_GENERAL_LIGHTEN_UP_STARS BrightenStars REAL
UNIT PERCENT
MIN 0
MAX 100
PARENTCOLLAPSE SKY_ASTRO_SHOW_STARS
SKY_GENERAL_STAR_RADIUS StarRadius REAL
MIN 0.1
MAX 5
MINSLIDER 0
MAXSLIDER 5
STEP .05
PARENTCOLLAPSE SKY_ASTRO_SHOW_STARS
SKY_GENERAL_SHOW_CONSTELLATIONS ShowConstellations BOOL PARENTCOLLAPSE
SKY_GENERAL_CONSTELLATION_COLOR Constellationcolor COLOR
PARENTID SKY_GENERAL_SHOW_CONSTELLATIONS
PARENTCOLLAPSE SKY_ASTRO_SHOW_STARS
SKY_GENERAL_GRID_WIDTH GridWidth REAL
UNIT DEGREE
MIN 0
MAX 180
PARENTCOLLAPSE SKY_ASTRO_SHOW_STARS
SKY_GENERAL_GRID_COLOR GridColor COLOR PARENTCOLLAPSE
SKY_ASTRO_PLANETS_SHOW ShowPlanets BOOL  
SKY_GENERAL_SKY_DOME SkyDomeAmbientLight BOOL  
SKY_GENERAL_MERGE_SUN MergeSkyandSun BOOL  
SKY_MATERIAL_GLOBALILLUM_GENERATE GIGenerate BOOL  
SKY_MATERIAL_GLOBALILLUM_GENERATE_STRENGTH GIGenerateStrength REAL
UNIT PERCENT
MIN 0.0
MAX 10000.0
SKY_GENERAL_GI_SATURATION Saturation REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
SKY_GENERAL_GI_INFLUENCE CloudInfluence REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
SKY_EXPRESSION_PRIORITY Priority PRIORITY
ANIM OFF
NOCAMERA
SKY_MATERIAL_PREVIEWSIZE TexturePreviewSize LONG  
SKY_MATERIAL_PREVIEWSIZE_DEF Default
SKY_MATERIAL_PREVIEWSIZE_64 64x64(16KB)
SKY_MATERIAL_PREVIEWSIZE_128 128x128(64KB)
SKY_MATERIAL_PREVIEWSIZE_256 256x256(256KB)
SKY_MATERIAL_PREVIEWSIZE_512 512x512(1MB)
SKY_MATERIAL_PREVIEWSIZE_1024 1024x1024(4MB)
SKY_MATERIAL_PREVIEWSIZE_2048 2048x2048(16MB)
SKY_MATERIAL_PREVIEWSIZE_4096 4096x4096(64MB)
SKY_SHOW_HUD ShowLocationHUD BOOL ANIM
SKY_UPDATE_EDITOR UpdateEditor BOOL  
SKY_SHOW_CLOUD_BOX ShowBoundingBox BOOL  
SKY_CLOUD_EDITOR_COLOR EditorColor COLOR  
SKY_CLOUD_EDITOR_QUALITY EditorQuality REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_VOL_CLOUDS_ADJUST_ALTITUDE AdjustAltitude BOOL  
SKY_VOL_CLOUDS_RECEIVE_SHADOWS ReceiveShadows BOOL  
SKY_VOL_CLOUDS_SAMPLE_SIZE SampleSize REAL
UNIT METER
MIN 0
SKY_VOL_CLOUDS_EDGE_NOISE_NOISE EdgeNoise LONG CUSTOMGUI
SKY_VOL_CLOUDS_EDGE_NOISE_CONTRAST Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_VOL_CLOUDS_EDGE_NOISE_SCALE Scale REAL
UNIT PERCENT
MIN 0
SKY_VOL_CLOUDS_EDGE_NOISE_SPEED NoiseSpeed REAL
UNIT PERCENT
MIN 0
SKY_VOL_CLOUDS_LIGHT_LIST Lights IN_EXCLUDE
NUM_FLAGS 0
SCALE_V
SKY_FOG_COLOR Color COLOR  
SKY_FOG_START StartHeight REAL UNIT
SKY_FOG_END EndHeight REAL UNIT
SKY_FOG_MAXDIST Max.Distance REAL
UNIT METER
MIN 0
MAX 200000
SKY_FOG_DENSITY Density REAL
UNIT PERCENT
MIN 0
SKY_FOG_DENSITY_DISTRIB DensityDistribution SPLINE
SHOWGRID_H
SHOWGRID_V
MINSIZE_H 120
MINSIZE_V 90
EDIT_H
EDIT_V
X_MIN 0
X_MAX 100
Y_MIN 0
Y_MAX 100
X_STEPS 1
Y_STEPS 1
SKY_FOG_NOISE Noise LONG CUSTOMGUI
SKY_FOG_NOISE_STRENGTH NoiseStrength REAL
UNIT PERCENT
MIN -1000
MAX 1000
SKY_FOG_SCALE Scale VECTOR
UNIT PERCENT
MIN 0
SKY_FOG_MOVEMENT Movement VECTOR UNIT
SKY_FOG_SAMPLE_SIZE SampleSize REAL
MIN 5
UNIT METER
SKY_FOG_ANIMATION_SPEED AnimationSpeed REAL
UNIT PERCENT
MIN 0
SKY_FOG_SHADOW_INTENSITY ShadowIntensity REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_FOG_ILLUM_INTENSITY IlluminationIntensity REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_RAINBOW_MAX_STRENGTH Max.Strength REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_RAINBOW_TURBIDITY_DEP TurbidityDependent BOOL  
SKY_RAINBOW_TURBIDITY_THRESHOLD_MIN Min.TurbidityThreshold REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_RAINBOW_TURBIDITY_THRESHOLD_MAX Max.TurbidityThreshold REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_RAINBOW_1_INNER FirstRainbowInnerAngle REAL
UNIT DEGREE
MIN 0
MAX 180
SKY_RAINBOW_1_OUTER FirstRainbowOuterAngle REAL
UNIT DEGREE
MIN 0
MAX 180
SKY_RAINBOW_2_INNER SecondaryRainbowInnerAngle REAL
UNIT DEGREE
MIN 0
MAX 180
SKY_RAINBOW_2_OUTER SecondaryRainbowOuterAngle REAL
UNIT DEGREE
MIN 0
MAX 180
SKY_RAINBOW_START_CLIP StartClipping REAL UNIT
SKY_RAINBOW_END_CLIP EndClipping REAL UNIT
SKY_BEAMS_TURBIDITY_DEPENDENT TurbidityDependent BOOL  
SKY_BEAMS_INTENS Intensity REAL
UNIT PERCENT
MIN 0
MAX 100
SKY_BEAMS_MIN_BRIGHTNESS Min.Brightness REAL
UNIT PERCENT
MIN 0
MAX 200
MINSLIDER 0
MAXSLIDER 200
SKY_BEAMS_START StartDistance REAL
UNIT METER
MIN 0
SKY_BEAMS_END EndDistance REAL
UNIT METER
MIN 0
SKY_BEAMS_SAMPLE_DIST SampleDistance REAL
UNIT METER
MIN 20
SKY_SKY_OBJECTS SkyObjects SKY_OBJECTS
NEWLINE
SCALE_V
SKY_SKY_OBECT_PLACE PlaceObject... BUTTON  

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    obj = c4d.BaseObject(c4d.Oskyshader)
    doc.InsertObject(obj)
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    
    #You can set parameters two different ways. 
    #First way              
    obj[c4d.SKY_TIMEANDLOCATION] = True
    obj[c4d.SKY_PHYSICALSKYPAGE] = True
    obj[c4d.SKY_PHYSICAL_SUN_ENABLE] = True
    obj[c4d.SKY_PHYSICAL_ATM_ENABLE] = True
    obj[c4d.SKY_CLOUD_ENABLE] = True
    obj[c4d.SKY_DETAILS] = True
    obj[c4d.SKY_VOL_CLOUDS_RENDER] = True
    obj[c4d.SKY_FOG_ENABLE] = True
    obj[c4d.SKY_RAINBOW_RENDER] = True
    obj[c4d.SKY_BEAMS_ENABLE] = True
    obj[c4d.] = True
    obj[c4d.SKY_TIME_NOW] = True
    obj[c4d.SKY_DATE_TODAY] = True
    obj[c4d.SKY_DATE_ANIMATE] = True
    obj[c4d.SKY_TIME_ANIMATE] = True
    obj[c4d.SKY_POS_CITY] = "Hello World"
    obj[c4d.SKY_POS_CITY_COMBO] = 1
    obj[c4d.SKY_POS_LATITUDE] = 0.1
    obj[c4d.SKY_POS_LONGITUDE] = 0.1
    obj[c4d.SKY_POS_TIMEZONE] = c4d.SKY_POS_TZ_OS
    obj[c4d.SKY_POS_DST_SETTINGS] = c4d.SKY_POS_DST_OFF
    obj[c4d.SKY_POS_TIME_ZONE] = 0.1
    obj[c4d.SKY_POS_DST_TIME_ZONE] = 0.1
    obj[c4d.SKY_PHYSICAL_SKY_ENABLE] = True
    obj[c4d.SKY_REAL_SKY_SKY_HORIZON] = True
    obj[c4d.SKY_REAL_SKY_SKY_COLOR_WARMNESS] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_INTENSITY] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_INTENSITY_NIGHT] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_SATURATION] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_HUE] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_GAMMA] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_SEEN_INTENSITY] = 0.1
    obj[c4d.SKY_REAL_SKY_SKY_DITHER] = 0.1
    obj[c4d.SKY_REAL_SKY_TURBIDITY] = 0.1
    obj[c4d.SKY_REAL_SKY_OZONE] = 0.1
    obj[c4d.SKY_GENERAL_USER_HORIZON] = True
    obj[c4d.SKY_GENERAL_USER_HORIZON_MAX_ALT] = 0.1
    obj[c4d.SKY_GENERAL_STRENGTH] = 0.1
    obj[c4d.SKY_GENERAL_MOISTURE] = 0.1
    obj[c4d.SKY_GENERAL_HORIZON_START] = 0.1
    obj[c4d.SKY_GENERAL_EARTH_RADIUS] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_INTENSITY] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SATURATION] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_HUE] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_GAMMA] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SIZE_RATIO] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SEEN_INTENSITY] = 0.1
    obj[c4d.SKY_GENERAL_CHANGE_SUN_COL] = True
    obj[c4d.SKY_GENERAL_LENSFLARES] = True
    obj[c4d.SKY_GENERAL_MAX_FLARE_GLOW] = 0.1
    obj[c4d.SKY_GENERAL_MAX_FLARE_REFL] = 0.1
    obj[c4d.SKY_GENERAL_SUN_DIST_SCALE] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SHADOW_TYPE] = c4d.SKY_SUN_SHADOW_TYPE_NONE
    obj[c4d.SKY_REAL_SKY_SUN_SHADOW_DENSITY] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SHADOW_TRANSPARENCY] = True
    obj[c4d.SKY_REAL_SKY_SUN_SAMPLING_QUALITY] = 0.1
    obj[c4d.SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MIN] = 1
    obj[c4d.SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MAX] = 1
    obj[c4d.SKY_REAL_SKY_ATM_INTENSITY] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_HORIZON] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_SATURATION] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_HUE] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_GAMMA] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_SCALE_RATIO] = 0.1
    obj[c4d.SKY_REAL_SKY_ATM_DITHER] = 0.1
    obj[c4d.SKY_CLOUDS_SHADOW] = True
    obj[c4d.SKY_CLOUD_1_ACTIVE] = True
    obj[c4d.SKY_CLOUD_2_ACTIVE] = True
    obj[c4d.SKY_CLOUD_3_ACTIVE] = True
    obj[c4d.SKY_CLOUD_4_ACTIVE] = True
    obj[c4d.SKY_CLOUD_5_ACTIVE] = True
    obj[c4d.SKY_CLOUD_6_ACTIVE] = True
    obj[c4d.SKY_CLOUD_1_NOISE] = 1
    obj[c4d.SKY_CLOUD_1_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_1_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_1_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_1_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_1_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_1_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_1_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_1_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_1_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_1_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_1_MOVE_WE] = 0.1
    obj[c4d.SKY_CLOUD_2_NOISE] = 1
    obj[c4d.SKY_CLOUD_2_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_2_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_2_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_2_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_2_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_2_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_2_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_2_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_2_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_2_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_2_MOVE_WE] = 0.1
    obj[c4d.SKY_CLOUD_3_NOISE] = 1
    obj[c4d.SKY_CLOUD_3_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_3_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_3_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_3_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_3_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_3_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_3_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_3_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_3_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_3_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_3_MOVE_WE] = 0.1
    obj[c4d.SKY_CLOUD_4_NOISE] = 1
    obj[c4d.SKY_CLOUD_4_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_4_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_4_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_4_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_4_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_4_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_4_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_4_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_4_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_4_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_4_MOVE_WE] = 0.1
    obj[c4d.SKY_CLOUD_5_NOISE] = 1
    obj[c4d.SKY_CLOUD_5_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_5_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_5_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_5_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_5_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_5_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_5_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_5_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_5_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_5_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_5_MOVE_WE] = 0.1
    obj[c4d.SKY_CLOUD_6_NOISE] = 1
    obj[c4d.SKY_CLOUD_6_HEIGHT] = 0.1
    obj[c4d.SKY_CLOUD_6_DENSITY] = 0.1
    obj[c4d.SKY_CLOUD_6_COVERAGE] = 0.1
    obj[c4d.SKY_CLOUD_6_THICKNESS] = 0.1
    obj[c4d.SKY_CLOUD_6_TRANSPARENCY] = 0.1
    obj[c4d.SKY_CLOUD_6_SPEED] = 0.1
    obj[c4d.SKY_CLOUD_6_OFFSET] = 0.1
    obj[c4d.SKY_CLOUD_6_SCALE_NS] = 0.1
    obj[c4d.SKY_CLOUD_6_SCALE_WE] = 0.1
    obj[c4d.SKY_CLOUD_6_MOVE_NS] = 0.1
    obj[c4d.SKY_CLOUD_6_MOVE_WE] = 0.1
    obj[c4d.SKY_ASTRO_MOON_SHOW] = True
    obj[c4d.SKY_GENERAL_SCALE_MOON] = 0.1
    obj[c4d.SKY_GENERAL_MOON_BRIGHT] = 0.1
    obj[c4d.SKY_GENERAL_MOON_DARK] = 0.1
    obj[c4d.SKY_GENERAL_MOON_DIST_SCALE] = 0.1
    obj[c4d.SKY_ASTRO_SHOW_STARS] = True
    obj[c4d.SKY_GENERAL_MIN_MAG] = 0.1
    obj[c4d.SKY_GENERAL_RESIZE_STARS] = True
    obj[c4d.SKY_GENERAL_LIGHTEN_UP_STARS] = 0.1
    obj[c4d.SKY_GENERAL_STAR_RADIUS] = 0.1
    obj[c4d.SKY_GENERAL_SHOW_CONSTELLATIONS] = True
    obj[c4d.SKY_GENERAL_GRID_WIDTH] = 0.1
    obj[c4d.SKY_ASTRO_PLANETS_SHOW] = True
    obj[c4d.SKY_GENERAL_SKY_DOME] = True
    obj[c4d.SKY_GENERAL_MERGE_SUN] = True
    obj[c4d.SKY_MATERIAL_GLOBALILLUM_GENERATE] = True
    obj[c4d.SKY_MATERIAL_GLOBALILLUM_GENERATE_STRENGTH] = 0.1
    obj[c4d.SKY_GENERAL_GI_SATURATION] = 0.1
    obj[c4d.SKY_GENERAL_GI_INFLUENCE] = 0.1
    obj[c4d.SKY_MATERIAL_PREVIEWSIZE] = c4d.SKY_MATERIAL_PREVIEWSIZE_DEF
    obj[c4d.SKY_SHOW_HUD] = True
    obj[c4d.SKY_UPDATE_EDITOR] = True
    obj[c4d.SKY_SHOW_CLOUD_BOX] = True
    obj[c4d.SKY_CLOUD_EDITOR_QUALITY] = 0.1
    obj[c4d.SKY_VOL_CLOUDS_ADJUST_ALTITUDE] = True
    obj[c4d.SKY_VOL_CLOUDS_RECEIVE_SHADOWS] = True
    obj[c4d.SKY_VOL_CLOUDS_SAMPLE_SIZE] = 0.1
    obj[c4d.SKY_VOL_CLOUDS_EDGE_NOISE_NOISE] = 1
    obj[c4d.SKY_VOL_CLOUDS_EDGE_NOISE_CONTRAST] = 0.1
    obj[c4d.SKY_VOL_CLOUDS_EDGE_NOISE_SCALE] = 0.1
    obj[c4d.SKY_VOL_CLOUDS_EDGE_NOISE_SPEED] = 0.1
    obj[c4d.SKY_FOG_START] = 0.1
    obj[c4d.SKY_FOG_END] = 0.1
    obj[c4d.SKY_FOG_MAXDIST] = 0.1
    obj[c4d.SKY_FOG_DENSITY] = 0.1
    obj[c4d.SKY_FOG_NOISE] = 1
    obj[c4d.SKY_FOG_NOISE_STRENGTH] = 0.1
    obj[c4d.SKY_FOG_SCALE] = c4d.Vector(1.0,1.0,1.0)
    obj[c4d.SKY_FOG_MOVEMENT] = c4d.Vector(1.0,1.0,1.0)
    obj[c4d.SKY_FOG_SAMPLE_SIZE] = 0.1
    obj[c4d.SKY_FOG_ANIMATION_SPEED] = 0.1
    obj[c4d.SKY_FOG_SHADOW_INTENSITY] = 0.1
    obj[c4d.SKY_FOG_ILLUM_INTENSITY] = 0.1
    obj[c4d.SKY_RAINBOW_MAX_STRENGTH] = 0.1
    obj[c4d.SKY_RAINBOW_TURBIDITY_DEP] = True
    obj[c4d.SKY_RAINBOW_TURBIDITY_THRESHOLD_MIN] = 0.1
    obj[c4d.SKY_RAINBOW_TURBIDITY_THRESHOLD_MAX] = 0.1
    obj[c4d.SKY_RAINBOW_1_INNER] = 0.1
    obj[c4d.SKY_RAINBOW_1_OUTER] = 0.1
    obj[c4d.SKY_RAINBOW_2_INNER] = 0.1
    obj[c4d.SKY_RAINBOW_2_OUTER] = 0.1
    obj[c4d.SKY_RAINBOW_START_CLIP] = 0.1
    obj[c4d.SKY_RAINBOW_END_CLIP] = 0.1
    obj[c4d.SKY_BEAMS_TURBIDITY_DEPENDENT] = True
    obj[c4d.SKY_BEAMS_INTENS] = 0.1
    obj[c4d.SKY_BEAMS_MIN_BRIGHTNESS] = 0.1
    obj[c4d.SKY_BEAMS_START] = 0.1
    obj[c4d.SKY_BEAMS_END] = 0.1
    obj[c4d.SKY_BEAMS_SAMPLE_DIST] = 0.1
    
    #Second way, using the base container.
    bc = obj.GetDataInstance()
    bc.SetBool(c4d.SKY_TIMEANDLOCATION,True)
    bc.SetBool(c4d.SKY_PHYSICALSKYPAGE,True)
    bc.SetBool(c4d.SKY_PHYSICAL_SUN_ENABLE,True)
    bc.SetBool(c4d.SKY_PHYSICAL_ATM_ENABLE,True)
    bc.SetBool(c4d.SKY_CLOUD_ENABLE,True)
    bc.SetBool(c4d.SKY_DETAILS,True)
    bc.SetBool(c4d.SKY_VOL_CLOUDS_RENDER,True)
    bc.SetBool(c4d.SKY_FOG_ENABLE,True)
    bc.SetBool(c4d.SKY_RAINBOW_RENDER,True)
    bc.SetBool(c4d.SKY_BEAMS_ENABLE,True)
    bc.SetBool(c4d.,True)
    bc.SetBool(c4d.SKY_TIME_NOW,True)
    bc.SetBool(c4d.SKY_DATE_TODAY,True)
    bc.SetBool(c4d.SKY_DATE_ANIMATE,True)
    bc.SetBool(c4d.SKY_TIME_ANIMATE,True)
    bc.SetString(c4d.SKY_POS_CITY,"Hello World")
    bc.SetInt32(c4d.SKY_POS_CITY_COMBO,1)
    bc.SetFloat(c4d.SKY_POS_LATITUDE,0.1)
    bc.SetFloat(c4d.SKY_POS_LONGITUDE,0.1)
    bc.SetInt32(c4d.SKY_POS_TIMEZONE,c4d.SKY_POS_TZ_OS)
    bc.SetInt32(c4d.SKY_POS_DST_SETTINGS,c4d.SKY_POS_DST_OFF)
    bc.SetFloat(c4d.SKY_POS_TIME_ZONE,0.1)
    bc.SetFloat(c4d.SKY_POS_DST_TIME_ZONE,0.1)
    bc.SetBool(c4d.SKY_PHYSICAL_SKY_ENABLE,True)
    bc.SetBool(c4d.SKY_REAL_SKY_SKY_HORIZON,True)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_COLOR_WARMNESS,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_INTENSITY_NIGHT,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_SATURATION,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_HUE,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_GAMMA,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_SEEN_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SKY_DITHER,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_TURBIDITY,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_OZONE,0.1)
    bc.SetBool(c4d.SKY_GENERAL_USER_HORIZON,True)
    bc.SetFloat(c4d.SKY_GENERAL_USER_HORIZON_MAX_ALT,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_STRENGTH,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_MOISTURE,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_HORIZON_START,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_EARTH_RADIUS,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_SATURATION,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_HUE,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_GAMMA,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_SIZE_RATIO,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_SEEN_INTENSITY,0.1)
    bc.SetBool(c4d.SKY_GENERAL_CHANGE_SUN_COL,True)
    bc.SetBool(c4d.SKY_GENERAL_LENSFLARES,True)
    bc.SetFloat(c4d.SKY_GENERAL_MAX_FLARE_GLOW,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_MAX_FLARE_REFL,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_SUN_DIST_SCALE,0.1)
    bc.SetInt32(c4d.SKY_REAL_SKY_SUN_SHADOW_TYPE,c4d.SKY_SUN_SHADOW_TYPE_NONE)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_SHADOW_DENSITY,0.1)
    bc.SetBool(c4d.SKY_REAL_SKY_SUN_SHADOW_TRANSPARENCY,True)
    bc.SetFloat(c4d.SKY_REAL_SKY_SUN_SAMPLING_QUALITY,0.1)
    bc.SetInt32(c4d.SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MIN,1)
    bc.SetInt32(c4d.SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MAX,1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_HORIZON,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_SATURATION,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_HUE,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_GAMMA,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_SCALE_RATIO,0.1)
    bc.SetFloat(c4d.SKY_REAL_SKY_ATM_DITHER,0.1)
    bc.SetBool(c4d.SKY_CLOUDS_SHADOW,True)
    bc.SetBool(c4d.SKY_CLOUD_1_ACTIVE,True)
    bc.SetBool(c4d.SKY_CLOUD_2_ACTIVE,True)
    bc.SetBool(c4d.SKY_CLOUD_3_ACTIVE,True)
    bc.SetBool(c4d.SKY_CLOUD_4_ACTIVE,True)
    bc.SetBool(c4d.SKY_CLOUD_5_ACTIVE,True)
    bc.SetBool(c4d.SKY_CLOUD_6_ACTIVE,True)
    bc.SetInt32(c4d.SKY_CLOUD_1_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_1_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_1_MOVE_WE,0.1)
    bc.SetInt32(c4d.SKY_CLOUD_2_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_2_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_2_MOVE_WE,0.1)
    bc.SetInt32(c4d.SKY_CLOUD_3_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_3_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_3_MOVE_WE,0.1)
    bc.SetInt32(c4d.SKY_CLOUD_4_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_4_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_4_MOVE_WE,0.1)
    bc.SetInt32(c4d.SKY_CLOUD_5_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_5_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_5_MOVE_WE,0.1)
    bc.SetInt32(c4d.SKY_CLOUD_6_NOISE,1)
    bc.SetFloat(c4d.SKY_CLOUD_6_HEIGHT,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_DENSITY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_COVERAGE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_THICKNESS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_TRANSPARENCY,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_SPEED,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_OFFSET,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_SCALE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_SCALE_WE,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_MOVE_NS,0.1)
    bc.SetFloat(c4d.SKY_CLOUD_6_MOVE_WE,0.1)
    bc.SetBool(c4d.SKY_ASTRO_MOON_SHOW,True)
    bc.SetFloat(c4d.SKY_GENERAL_SCALE_MOON,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_MOON_BRIGHT,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_MOON_DARK,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_MOON_DIST_SCALE,0.1)
    bc.SetBool(c4d.SKY_ASTRO_SHOW_STARS,True)
    bc.SetFloat(c4d.SKY_GENERAL_MIN_MAG,0.1)
    bc.SetBool(c4d.SKY_GENERAL_RESIZE_STARS,True)
    bc.SetFloat(c4d.SKY_GENERAL_LIGHTEN_UP_STARS,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_STAR_RADIUS,0.1)
    bc.SetBool(c4d.SKY_GENERAL_SHOW_CONSTELLATIONS,True)
    bc.SetFloat(c4d.SKY_GENERAL_GRID_WIDTH,0.1)
    bc.SetBool(c4d.SKY_ASTRO_PLANETS_SHOW,True)
    bc.SetBool(c4d.SKY_GENERAL_SKY_DOME,True)
    bc.SetBool(c4d.SKY_GENERAL_MERGE_SUN,True)
    bc.SetBool(c4d.SKY_MATERIAL_GLOBALILLUM_GENERATE,True)
    bc.SetFloat(c4d.SKY_MATERIAL_GLOBALILLUM_GENERATE_STRENGTH,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_GI_SATURATION,0.1)
    bc.SetFloat(c4d.SKY_GENERAL_GI_INFLUENCE,0.1)
    bc.SetInt32(c4d.SKY_MATERIAL_PREVIEWSIZE,c4d.SKY_MATERIAL_PREVIEWSIZE_DEF)
    bc.SetBool(c4d.SKY_SHOW_HUD,True)
    bc.SetBool(c4d.SKY_UPDATE_EDITOR,True)
    bc.SetBool(c4d.SKY_SHOW_CLOUD_BOX,True)
    bc.SetFloat(c4d.SKY_CLOUD_EDITOR_QUALITY,0.1)
    bc.SetBool(c4d.SKY_VOL_CLOUDS_ADJUST_ALTITUDE,True)
    bc.SetBool(c4d.SKY_VOL_CLOUDS_RECEIVE_SHADOWS,True)
    bc.SetFloat(c4d.SKY_VOL_CLOUDS_SAMPLE_SIZE,0.1)
    bc.SetInt32(c4d.SKY_VOL_CLOUDS_EDGE_NOISE_NOISE,1)
    bc.SetFloat(c4d.SKY_VOL_CLOUDS_EDGE_NOISE_CONTRAST,0.1)
    bc.SetFloat(c4d.SKY_VOL_CLOUDS_EDGE_NOISE_SCALE,0.1)
    bc.SetFloat(c4d.SKY_VOL_CLOUDS_EDGE_NOISE_SPEED,0.1)
    bc.SetFloat(c4d.SKY_FOG_START,0.1)
    bc.SetFloat(c4d.SKY_FOG_END,0.1)
    bc.SetFloat(c4d.SKY_FOG_MAXDIST,0.1)
    bc.SetFloat(c4d.SKY_FOG_DENSITY,0.1)
    bc.SetInt32(c4d.SKY_FOG_NOISE,1)
    bc.SetFloat(c4d.SKY_FOG_NOISE_STRENGTH,0.1)
    bc.SetVector(c4d.SKY_FOG_SCALE, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.SKY_FOG_MOVEMENT, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.SKY_FOG_SAMPLE_SIZE,0.1)
    bc.SetFloat(c4d.SKY_FOG_ANIMATION_SPEED,0.1)
    bc.SetFloat(c4d.SKY_FOG_SHADOW_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_FOG_ILLUM_INTENSITY,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_MAX_STRENGTH,0.1)
    bc.SetBool(c4d.SKY_RAINBOW_TURBIDITY_DEP,True)
    bc.SetFloat(c4d.SKY_RAINBOW_TURBIDITY_THRESHOLD_MIN,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_TURBIDITY_THRESHOLD_MAX,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_1_INNER,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_1_OUTER,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_2_INNER,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_2_OUTER,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_START_CLIP,0.1)
    bc.SetFloat(c4d.SKY_RAINBOW_END_CLIP,0.1)
    bc.SetBool(c4d.SKY_BEAMS_TURBIDITY_DEPENDENT,True)
    bc.SetFloat(c4d.SKY_BEAMS_INTENS,0.1)
    bc.SetFloat(c4d.SKY_BEAMS_MIN_BRIGHTNESS,0.1)
    bc.SetFloat(c4d.SKY_BEAMS_START,0.1)
    bc.SetFloat(c4d.SKY_BEAMS_END,0.1)
    bc.SetFloat(c4d.SKY_BEAMS_SAMPLE_DIST,0.1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../sky/description/oskyshader.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseObject *pObject = BaseObject::Alloc(Oskyshader);
    pDoc->InsertObject(pObject);
    pDoc->StartUndo();
    pDoc->AddUndo(UNDO_NEW,pObject);
    pDoc->EndUndo();
    EventAdd(EVENT_FORCEREDRAW);
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pObject->SetParameter(DescID(SKY_TIMEANDLOCATION),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_PHYSICALSKYPAGE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_PHYSICAL_SUN_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_PHYSICAL_ATM_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_DETAILS),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_RENDER),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_FOG_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_RENDER),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_TIME_NOW),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_DATE_TODAY),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_DATE_ANIMATE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_TIME_ANIMATE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_POS_CITY),GeData("Hello World"),flags);
    pObject->SetParameter(DescID(SKY_POS_CITY_COMBO),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_POS_LATITUDE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_POS_LONGITUDE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_POS_TIMEZONE),GeData(SKY_POS_TZ_OS),flags);
    pObject->SetParameter(DescID(SKY_POS_DST_SETTINGS),GeData(SKY_POS_DST_OFF),flags);
    pObject->SetParameter(DescID(SKY_POS_TIME_ZONE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_POS_DST_TIME_ZONE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_PHYSICAL_SKY_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_HORIZON),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_COLOR_WARMNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_INTENSITY_NIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_SATURATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_HUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_GAMMA),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_SEEN_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SKY_DITHER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_TURBIDITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_OZONE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_USER_HORIZON),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_USER_HORIZON_MAX_ALT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_STRENGTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MOISTURE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_HORIZON_START),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_EARTH_RADIUS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SATURATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_HUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_GAMMA),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SIZE_RATIO),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SEEN_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_CHANGE_SUN_COL),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_LENSFLARES),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MAX_FLARE_GLOW),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MAX_FLARE_REFL),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_SUN_DIST_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SHADOW_TYPE),GeData(SKY_SUN_SHADOW_TYPE_NONE),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SHADOW_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SHADOW_TRANSPARENCY),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SAMPLING_QUALITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MIN),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MAX),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_HORIZON),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_SATURATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_HUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_GAMMA),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_SCALE_RATIO),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_REAL_SKY_ATM_DITHER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUDS_SHADOW),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_ACTIVE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_1_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_2_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_3_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_4_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_5_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_HEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_COVERAGE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_THICKNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_TRANSPARENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_SCALE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_SCALE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_MOVE_NS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_6_MOVE_WE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_ASTRO_MOON_SHOW),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_SCALE_MOON),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MOON_BRIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MOON_DARK),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MOON_DIST_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_ASTRO_SHOW_STARS),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MIN_MAG),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_RESIZE_STARS),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_LIGHTEN_UP_STARS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_STAR_RADIUS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_SHOW_CONSTELLATIONS),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_GRID_WIDTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_ASTRO_PLANETS_SHOW),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_SKY_DOME),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_MERGE_SUN),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_MATERIAL_GLOBALILLUM_GENERATE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_MATERIAL_GLOBALILLUM_GENERATE_STRENGTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_GI_SATURATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_GENERAL_GI_INFLUENCE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_MATERIAL_PREVIEWSIZE),GeData(SKY_MATERIAL_PREVIEWSIZE_DEF),flags);
    pObject->SetParameter(DescID(SKY_SHOW_HUD),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_UPDATE_EDITOR),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_SHOW_CLOUD_BOX),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_CLOUD_EDITOR_QUALITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_ADJUST_ALTITUDE),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_RECEIVE_SHADOWS),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_SAMPLE_SIZE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_EDGE_NOISE_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_EDGE_NOISE_CONTRAST),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_EDGE_NOISE_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_VOL_CLOUDS_EDGE_NOISE_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_START),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_END),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_MAXDIST),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_DENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_NOISE),GeData(1),flags);
    pObject->SetParameter(DescID(SKY_FOG_NOISE_STRENGTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_SCALE),GeData(Vector(1.0,1.0,1.0)),flags);
    pObject->SetParameter(DescID(SKY_FOG_MOVEMENT),GeData(Vector(1.0,1.0,1.0)),flags);
    pObject->SetParameter(DescID(SKY_FOG_SAMPLE_SIZE),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_ANIMATION_SPEED),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_SHADOW_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_FOG_ILLUM_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_MAX_STRENGTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_TURBIDITY_DEP),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_TURBIDITY_THRESHOLD_MIN),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_TURBIDITY_THRESHOLD_MAX),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_1_INNER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_1_OUTER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_2_INNER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_2_OUTER),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_START_CLIP),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_RAINBOW_END_CLIP),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_TURBIDITY_DEPENDENT),GeData(true),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_INTENS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_MIN_BRIGHTNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_START),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_END),GeData(0.1),flags);
    pObject->SetParameter(DescID(SKY_BEAMS_SAMPLE_DIST),GeData(0.1),flags);
    pObject->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pObject->GetDataInstance();
    bc->SetBool(SKY_TIMEANDLOCATION,true);
    bc->SetBool(SKY_PHYSICALSKYPAGE,true);
    bc->SetBool(SKY_PHYSICAL_SUN_ENABLE,true);
    bc->SetBool(SKY_PHYSICAL_ATM_ENABLE,true);
    bc->SetBool(SKY_CLOUD_ENABLE,true);
    bc->SetBool(SKY_DETAILS,true);
    bc->SetBool(SKY_VOL_CLOUDS_RENDER,true);
    bc->SetBool(SKY_FOG_ENABLE,true);
    bc->SetBool(SKY_RAINBOW_RENDER,true);
    bc->SetBool(SKY_BEAMS_ENABLE,true);
    bc->SetBool(,true);
    bc->SetBool(SKY_TIME_NOW,true);
    bc->SetBool(SKY_DATE_TODAY,true);
    bc->SetBool(SKY_DATE_ANIMATE,true);
    bc->SetBool(SKY_TIME_ANIMATE,true);
    bc->SetString(SKY_POS_CITY,"Hello World");
    bc->SetInt32(SKY_POS_CITY_COMBO,1);
    bc->SetFloat(SKY_POS_LATITUDE,0.1);
    bc->SetFloat(SKY_POS_LONGITUDE,0.1);
    bc->SetInt32(SKY_POS_TIMEZONE,SKY_POS_TZ_OS);
    bc->SetInt32(SKY_POS_DST_SETTINGS,SKY_POS_DST_OFF);
    bc->SetFloat(SKY_POS_TIME_ZONE,0.1);
    bc->SetFloat(SKY_POS_DST_TIME_ZONE,0.1);
    bc->SetBool(SKY_PHYSICAL_SKY_ENABLE,true);
    bc->SetBool(SKY_REAL_SKY_SKY_HORIZON,true);
    bc->SetFloat(SKY_REAL_SKY_SKY_COLOR_WARMNESS,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_INTENSITY,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_INTENSITY_NIGHT,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_SATURATION,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_HUE,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_GAMMA,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_SEEN_INTENSITY,0.1);
    bc->SetFloat(SKY_REAL_SKY_SKY_DITHER,0.1);
    bc->SetFloat(SKY_REAL_SKY_TURBIDITY,0.1);
    bc->SetFloat(SKY_REAL_SKY_OZONE,0.1);
    bc->SetBool(SKY_GENERAL_USER_HORIZON,true);
    bc->SetFloat(SKY_GENERAL_USER_HORIZON_MAX_ALT,0.1);
    bc->SetFloat(SKY_GENERAL_STRENGTH,0.1);
    bc->SetFloat(SKY_GENERAL_MOISTURE,0.1);
    bc->SetFloat(SKY_GENERAL_HORIZON_START,0.1);
    bc->SetFloat(SKY_GENERAL_EARTH_RADIUS,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_INTENSITY,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_SATURATION,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_HUE,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_GAMMA,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_SIZE_RATIO,0.1);
    bc->SetFloat(SKY_REAL_SKY_SUN_SEEN_INTENSITY,0.1);
    bc->SetBool(SKY_GENERAL_CHANGE_SUN_COL,true);
    bc->SetBool(SKY_GENERAL_LENSFLARES,true);
    bc->SetFloat(SKY_GENERAL_MAX_FLARE_GLOW,0.1);
    bc->SetFloat(SKY_GENERAL_MAX_FLARE_REFL,0.1);
    bc->SetFloat(SKY_GENERAL_SUN_DIST_SCALE,0.1);
    bc->SetInt32(SKY_REAL_SKY_SUN_SHADOW_TYPE,SKY_SUN_SHADOW_TYPE_NONE);
    bc->SetFloat(SKY_REAL_SKY_SUN_SHADOW_DENSITY,0.1);
    bc->SetBool(SKY_REAL_SKY_SUN_SHADOW_TRANSPARENCY,true);
    bc->SetFloat(SKY_REAL_SKY_SUN_SAMPLING_QUALITY,0.1);
    bc->SetInt32(SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MIN,1);
    bc->SetInt32(SKY_REAL_SKY_SUN_SAMPLING_SAMPLES_MAX,1);
    bc->SetFloat(SKY_REAL_SKY_ATM_INTENSITY,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_HORIZON,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_SATURATION,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_HUE,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_GAMMA,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_SCALE_RATIO,0.1);
    bc->SetFloat(SKY_REAL_SKY_ATM_DITHER,0.1);
    bc->SetBool(SKY_CLOUDS_SHADOW,true);
    bc->SetBool(SKY_CLOUD_1_ACTIVE,true);
    bc->SetBool(SKY_CLOUD_2_ACTIVE,true);
    bc->SetBool(SKY_CLOUD_3_ACTIVE,true);
    bc->SetBool(SKY_CLOUD_4_ACTIVE,true);
    bc->SetBool(SKY_CLOUD_5_ACTIVE,true);
    bc->SetBool(SKY_CLOUD_6_ACTIVE,true);
    bc->SetInt32(SKY_CLOUD_1_NOISE,1);
    bc->SetFloat(SKY_CLOUD_1_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_1_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_1_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_1_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_1_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_1_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_1_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_1_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_1_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_1_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_1_MOVE_WE,0.1);
    bc->SetInt32(SKY_CLOUD_2_NOISE,1);
    bc->SetFloat(SKY_CLOUD_2_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_2_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_2_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_2_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_2_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_2_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_2_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_2_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_2_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_2_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_2_MOVE_WE,0.1);
    bc->SetInt32(SKY_CLOUD_3_NOISE,1);
    bc->SetFloat(SKY_CLOUD_3_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_3_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_3_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_3_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_3_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_3_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_3_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_3_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_3_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_3_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_3_MOVE_WE,0.1);
    bc->SetInt32(SKY_CLOUD_4_NOISE,1);
    bc->SetFloat(SKY_CLOUD_4_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_4_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_4_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_4_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_4_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_4_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_4_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_4_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_4_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_4_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_4_MOVE_WE,0.1);
    bc->SetInt32(SKY_CLOUD_5_NOISE,1);
    bc->SetFloat(SKY_CLOUD_5_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_5_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_5_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_5_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_5_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_5_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_5_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_5_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_5_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_5_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_5_MOVE_WE,0.1);
    bc->SetInt32(SKY_CLOUD_6_NOISE,1);
    bc->SetFloat(SKY_CLOUD_6_HEIGHT,0.1);
    bc->SetFloat(SKY_CLOUD_6_DENSITY,0.1);
    bc->SetFloat(SKY_CLOUD_6_COVERAGE,0.1);
    bc->SetFloat(SKY_CLOUD_6_THICKNESS,0.1);
    bc->SetFloat(SKY_CLOUD_6_TRANSPARENCY,0.1);
    bc->SetFloat(SKY_CLOUD_6_SPEED,0.1);
    bc->SetFloat(SKY_CLOUD_6_OFFSET,0.1);
    bc->SetFloat(SKY_CLOUD_6_SCALE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_6_SCALE_WE,0.1);
    bc->SetFloat(SKY_CLOUD_6_MOVE_NS,0.1);
    bc->SetFloat(SKY_CLOUD_6_MOVE_WE,0.1);
    bc->SetBool(SKY_ASTRO_MOON_SHOW,true);
    bc->SetFloat(SKY_GENERAL_SCALE_MOON,0.1);
    bc->SetFloat(SKY_GENERAL_MOON_BRIGHT,0.1);
    bc->SetFloat(SKY_GENERAL_MOON_DARK,0.1);
    bc->SetFloat(SKY_GENERAL_MOON_DIST_SCALE,0.1);
    bc->SetBool(SKY_ASTRO_SHOW_STARS,true);
    bc->SetFloat(SKY_GENERAL_MIN_MAG,0.1);
    bc->SetBool(SKY_GENERAL_RESIZE_STARS,true);
    bc->SetFloat(SKY_GENERAL_LIGHTEN_UP_STARS,0.1);
    bc->SetFloat(SKY_GENERAL_STAR_RADIUS,0.1);
    bc->SetBool(SKY_GENERAL_SHOW_CONSTELLATIONS,true);
    bc->SetFloat(SKY_GENERAL_GRID_WIDTH,0.1);
    bc->SetBool(SKY_ASTRO_PLANETS_SHOW,true);
    bc->SetBool(SKY_GENERAL_SKY_DOME,true);
    bc->SetBool(SKY_GENERAL_MERGE_SUN,true);
    bc->SetBool(SKY_MATERIAL_GLOBALILLUM_GENERATE,true);
    bc->SetFloat(SKY_MATERIAL_GLOBALILLUM_GENERATE_STRENGTH,0.1);
    bc->SetFloat(SKY_GENERAL_GI_SATURATION,0.1);
    bc->SetFloat(SKY_GENERAL_GI_INFLUENCE,0.1);
    bc->SetInt32(SKY_MATERIAL_PREVIEWSIZE,SKY_MATERIAL_PREVIEWSIZE_DEF);
    bc->SetBool(SKY_SHOW_HUD,true);
    bc->SetBool(SKY_UPDATE_EDITOR,true);
    bc->SetBool(SKY_SHOW_CLOUD_BOX,true);
    bc->SetFloat(SKY_CLOUD_EDITOR_QUALITY,0.1);
    bc->SetBool(SKY_VOL_CLOUDS_ADJUST_ALTITUDE,true);
    bc->SetBool(SKY_VOL_CLOUDS_RECEIVE_SHADOWS,true);
    bc->SetFloat(SKY_VOL_CLOUDS_SAMPLE_SIZE,0.1);
    bc->SetInt32(SKY_VOL_CLOUDS_EDGE_NOISE_NOISE,1);
    bc->SetFloat(SKY_VOL_CLOUDS_EDGE_NOISE_CONTRAST,0.1);
    bc->SetFloat(SKY_VOL_CLOUDS_EDGE_NOISE_SCALE,0.1);
    bc->SetFloat(SKY_VOL_CLOUDS_EDGE_NOISE_SPEED,0.1);
    bc->SetFloat(SKY_FOG_START,0.1);
    bc->SetFloat(SKY_FOG_END,0.1);
    bc->SetFloat(SKY_FOG_MAXDIST,0.1);
    bc->SetFloat(SKY_FOG_DENSITY,0.1);
    bc->SetInt32(SKY_FOG_NOISE,1);
    bc->SetFloat(SKY_FOG_NOISE_STRENGTH,0.1);
    bc->SetVector(SKY_FOG_SCALE, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(SKY_FOG_MOVEMENT, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(SKY_FOG_SAMPLE_SIZE,0.1);
    bc->SetFloat(SKY_FOG_ANIMATION_SPEED,0.1);
    bc->SetFloat(SKY_FOG_SHADOW_INTENSITY,0.1);
    bc->SetFloat(SKY_FOG_ILLUM_INTENSITY,0.1);
    bc->SetFloat(SKY_RAINBOW_MAX_STRENGTH,0.1);
    bc->SetBool(SKY_RAINBOW_TURBIDITY_DEP,true);
    bc->SetFloat(SKY_RAINBOW_TURBIDITY_THRESHOLD_MIN,0.1);
    bc->SetFloat(SKY_RAINBOW_TURBIDITY_THRESHOLD_MAX,0.1);
    bc->SetFloat(SKY_RAINBOW_1_INNER,0.1);
    bc->SetFloat(SKY_RAINBOW_1_OUTER,0.1);
    bc->SetFloat(SKY_RAINBOW_2_INNER,0.1);
    bc->SetFloat(SKY_RAINBOW_2_OUTER,0.1);
    bc->SetFloat(SKY_RAINBOW_START_CLIP,0.1);
    bc->SetFloat(SKY_RAINBOW_END_CLIP,0.1);
    bc->SetBool(SKY_BEAMS_TURBIDITY_DEPENDENT,true);
    bc->SetFloat(SKY_BEAMS_INTENS,0.1);
    bc->SetFloat(SKY_BEAMS_MIN_BRIGHTNESS,0.1);
    bc->SetFloat(SKY_BEAMS_START,0.1);
    bc->SetFloat(SKY_BEAMS_END,0.1);
    bc->SetFloat(SKY_BEAMS_SAMPLE_DIST,0.1);
    pObject->Message(MSG_UPDATE);                                                      
}
             

Buttons

This node has buttons. Buttons can manually be executed by calling the following code

Python

c4d.CallButton(obj,c4d.SKY_PRESET)
c4d.CallButton(obj,c4d.SKY_WEATHERPRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_1_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_2_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_3_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_4_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_5_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_CLOUD_6_SAVE_PRESET)
c4d.CallButton(obj,c4d.SKY_SKY_OBECT_PLACE)

C++

DescriptionCommand dc;
dc.id = DescID(SKY_PRESET);             
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);

DescriptionCommand dc; dc.id = DescID(SKY_WEATHERPRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_1_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_2_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_3_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_4_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_5_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_CLOUD_6_SAVE_PRESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(SKY_SKY_OBECT_PLACE); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);

Gradients

This node has gradients. Gradients can manually be edited by calling the following code

Python


C++

           
#include "customgui_gradient.h"
SKY_GENERAL_USER_COLOR
GeData data; pObject->GetParameter(DescID(SKY_GENERAL_USER_COLOR),data,DESCFLAGS_GET_PARAM_GET)); Gradient *pGradient = (Gradient*)data.GetCustomDataType(CUSTOMDATATYPE_GRADIENT); if(pGradient) { //must be set before any knot is set pGradient->SetData(GRADIENT_MODE, GeData(GRADIENTMODE_ALPHA)); GradientKnot k1, k2; k1.col = Vector(0.0, 0.0, 1.0); k1.pos = 0.0; k2.col = 1.0; k2.pos = 1.0; pGradient->InsertKnot(k1); pGradient->InsertKnot(k2); } pObject->SetParameter(DescID(SKY_GENERAL_USER_COLOR),data,DESCFLAGS_SET_PARAM_SET));
SKY_CLOUD_ROLLOFF
pObject->GetParameter(DescID(SKY_CLOUD_ROLLOFF),data,DESCFLAGS_GET_PARAM_GET));