![]() |
FormIt Plugin API
v23.0.0 (2023.0.0)
|
Functions | |
| json | FormIt.SunAndLocation.AddSatelliteImage (centerLat, centerLon, latSpan, lonSpan, pixelWidth, pixelHeight, physicalWidth, physicalHeight, address, xOffset, yOffset) |
| json | FormIt.SunAndLocation.SetProjectAddress (address) |
| SetProjectAddress sets the location address. More... | |
| json | FormIt.SunAndLocation.GetProjectAddress () |
| GetProjectAddress returns the location address. More... | |
| json | FormIt.SunAndLocation.SetLocation (longitude, latitude) |
| SetLocation sets the location. More... | |
| json | FormIt.SunAndLocation.SetTimeOfDay (dTimeOfDay, bUpdateRender, bForceUpdateShadows) |
| SetTimeOfDay sets the time of day. More... | |
| json | FormIt.SunAndLocation.UpdateShadows () |
| UpdateShadows updates the shadows. More... | |
| json | FormIt.SunAndLocation.SetDate (nDay, nMonth, nYear, bUpdateRender, bForceUpdateShadows) |
| SetDate sets the date. More... | |
| json | FormIt.SunAndLocation.GetDaylightSavingTime () |
| GetDaylightSavingTime true if DST is active. More... | |
| json | FormIt.SunAndLocation.SetDaylightSavingTime (bEnable, bUpdateRender) |
| SetDaylightSavingTime sets DST on/off. More... | |
| json | FormIt.SunAndLocation.GetLocationDateTime () |
| GetLocationDateTime Parameters: In: Out: {{"objectName", "SunLocationData", "latitude":, "longitude":, "Time":, "UTCTimeZone":, "DSTOffset":, "Day":, "Month":, "Year":, "DSTEnabled":};. More... | |
| json | FormIt.SunAndLocation.GetSunRiseAndSet () |
| GetSunRiseAndSet Parameters: In: Out: {"objectName"" "SunRiseData",
sunRises":, sunRise":,
sunSet":};. More... | |
| json | FormIt.SunAndLocation.GetLightDirectionFromLocationData (sunLocationData) |
| GetLightDirectionFromLocationData Parameters: In:SunLocationData Out: {{"objectName", "Vector3d", "x":, "y":, "z": };. More... | |
| json FormIt.SunAndLocation.AddSatelliteImage | ( | centerLat | , |
| centerLon | , | ||
| latSpan | , | ||
| lonSpan | , | ||
| pixelWidth | , | ||
| pixelHeight | , | ||
| physicalWidth | , | ||
| physicalHeight | , | ||
| address | , | ||
| xOffset | , | ||
| yOffset | |||
| ) |
| json FormIt.SunAndLocation.GetDaylightSavingTime | ( | ) |
GetDaylightSavingTime true if DST is active.
Parameters: In: Out: bool
| json FormIt.SunAndLocation.GetLightDirectionFromLocationData | ( | sunLocationData | ) |
GetLightDirectionFromLocationData Parameters: In:SunLocationData Out: {{"objectName", "Vector3d", "x":, "y":, "z": };.
| [in] | sunLocationData | FormIt.SunLocationData |
| json FormIt.SunAndLocation.GetLocationDateTime | ( | ) |
GetLocationDateTime Parameters: In: Out: {{"objectName", "SunLocationData", "latitude":, "longitude":, "Time":, "UTCTimeZone":, "DSTOffset":, "Day":, "Month":, "Year":, "DSTEnabled":};.
| json FormIt.SunAndLocation.GetProjectAddress | ( | ) |
GetProjectAddress returns the location address.
Parameters: In: Out: string
| json FormIt.SunAndLocation.GetSunRiseAndSet | ( | ) |
GetSunRiseAndSet Parameters: In: Out: {"objectName"" "SunRiseData", sunRises":, sunRise":, sunSet":};.
| json FormIt.SunAndLocation.SetDate | ( | nDay | , |
| nMonth | , | ||
| nYear | , | ||
| bUpdateRender | , | ||
| bForceUpdateShadows | |||
| ) |
SetDate sets the date.
Parameters: In: nDay, nMonth, nYear, bUpdateRender (OPTIONAL=true), bForceUpdateShadows(OPTIONAL=true) Out: JSON_UNDEFINED
| [in] | nDay | int |
| [in] | nMonth | int |
| [in] | nYear | int |
| [in] | bUpdateRender | (OPTIONAL, default = true) bool |
| [in] | bForceUpdateShadows | (OPTIONAL, default = true) bool |
| json FormIt.SunAndLocation.SetDaylightSavingTime | ( | bEnable | , |
| bUpdateRender | |||
| ) |
SetDaylightSavingTime sets DST on/off.
Parameters: In: nDay, nMonth, nYear, bUpdateRender Out: JSON_UNDEFINED
| [in] | bEnable | bool |
| [in] | bUpdateRender | (OPTIONAL, default = true) bool |
| json FormIt.SunAndLocation.SetLocation | ( | longitude | , |
| latitude | |||
| ) |
SetLocation sets the location.
Parameters: In: longitude, latitude Out: JSON_UNDEFINED
| [in] | longitude | double |
| [in] | latitude | double |
| json FormIt.SunAndLocation.SetProjectAddress | ( | address | ) |
SetProjectAddress sets the location address.
Parameters: In: address Out: JSON_UNDEFINED
| [in] | address | String |
| json FormIt.SunAndLocation.SetTimeOfDay | ( | dTimeOfDay | , |
| bUpdateRender | , | ||
| bForceUpdateShadows | |||
| ) |
SetTimeOfDay sets the time of day.
Parameters: In: dTimeOfDay, bUpdateRender (OPTIONAL=true), bForceUpdateShadows(OPTIONAL=true) Out: JSON_UNDEFINED
| [in] | dTimeOfDay | double |
| [in] | bUpdateRender | (OPTIONAL, default = true) bool |
| [in] | bForceUpdateShadows | (OPTIONAL, default = true) bool |
| json FormIt.SunAndLocation.UpdateShadows | ( | ) |
UpdateShadows updates the shadows.
Parameters: In: Out: JSON_UNDEFINED