Used to get and set values in a shadow info object.
More...
#include <SketchUpAPI/model/shadow_info.h>
Used to get and set values in a shadow info object.
- Since
- SketchUp 2015, API 3.0
Retrieves keys associated with the shadow options object.
- Since
- SketchUp 2015, API 3.0
- Parameters
-
[in] | shadow_info | The shadow_info object. |
[in] | len | The number of keys to retrieve. |
[out] | keys | The keys retrieved. |
[out] | count | The number of keys retrieved. |
- Returns
-
Gets the number of available shadow info keys.
- Since
- SketchUp 2015, API 3.0
- Parameters
-
[in] | shadow_info | The shadow info object. |
[out] | count | The number of keys available. |
- Returns
-
Retrieves a value from a shadow info object.
- Since
- SketchUp 2015, API 3.0
- Parameters
-
[in] | shadow_info | The shadow info object. |
[in] | key | The key. Assumed to be UTF-8 encoded. |
[out] | value_out | The value retrieved. |
- Returns
-
The list of shadow information keys is shown below.
- City (in Model Info > Geo-location > Set Manual Location...) Note that 'City' is called 'Location' in the UI
- Country (in Model Info > Geo-location > Set Manual Location...)
- Dark (in Window > Shadows)
- DayOfYear
- DaylightSavings
- DisplayNorth (in View > Toolbars > Solar North) Note that 'Toolbar' is called 'Tool Palettes' on Mac
- DisplayOnAllFaces (in Window > Shadows)
- DisplayOnGroundPlane (in Window > Shadows)
- DisplayShadows (in Window > Shadows)
- EdgesCastShadows (in Window > Shadows)
- Latitude (in Model Info > Geo-location > Set Manual Location...)
- Light (in Window > Shadows)
- Longitude (in Model Info > Geo-location > Set Manual Location...)
- NorthAngle (in View > Toolbars > Solar North) Note that 'Toolbar' is called 'Tool Palettes' on Mac
- ShadowTime (in Window > Shadows)
- ShadowTime_time_t (ShadowTime in Epoch time)
- SunDirection (Generated based on ShadowTime)
- SunRise (Generated based on ShadowTime)
- SunRise_time_t (SunRise in Epoch time)
- SunSet (Generated based on ShadowTime)
- SunSet_time_t (SunSet in Epoch time)
- TZOffset (in Window > Shadows)
- UseSunForAllShading (in Window > Shadows)
Sets a value on a shadow info object.
- Since
- SketchUp 2015, API 3.0
- Parameters
-
[in] | shadow_info | The shadow info object. |
[in] | key | The key. Assumed to be UTF-8 encoded. |
[in] | value_in | The value used to set the shadow info option is set to. |
- Returns
-
The list of shadow information keys is shown below.
- City (in Model Info > Geo-location > Set Manual Location...) Note that 'City' is called 'Location' in the UI
- Country (in Model Info > Geo-location > Set Manual Location...)
- Dark (in Window > Shadows)
- DayOfYear
- DaylightSavings
- DisplayNorth (in View > Toolbars > Solar North) Note that 'Toolbar' is called 'Tool Palettes' on Mac
- DisplayOnAllFaces (in Window > Shadows)
- DisplayOnGroundPlane (in Window > Shadows)
- DisplayShadows (in Window > Shadows)
- EdgesCastShadows (in Window > Shadows)
- Latitude (in Model Info > Geo-location > Set Manual Location...)
- Light (in Window > Shadows)
- Longitude (in Model Info > Geo-location > Set Manual Location...)
- NorthAngle (in View > Toolbars > Solar North) Note that 'Toolbar' is called 'Tool Palettes' on Mac
- ShadowTime (in Window > Shadows)
- ShadowTime_time_t (ShadowTime in Epoch time)
- SunDirection (Generated based on ShadowTime)
- SunRise (Generated based on ShadowTime)
- SunRise_time_t (SunRise in Epoch time)
- SunSet (Generated based on ShadowTime)
- SunSet_time_t (SunSet in Epoch time)
- TZOffset (in Window > Shadows)
- UseSunForAllShading (in Window > Shadows)
The documentation for this struct was generated from the following files: