formZ SDK | 5.0 API Reference | Project | Modeling | Lights Manager
Description
Returns the sun data for a given light. Note, that in the interface only distant lights give access to the sun. However, this function can be called for every light type, as sun data is actually stored with each light, even if its not a distant light.
Plugin Prototype
fzrt_error_td fz_lite_dist_get_sun(
fzrt_int | windex, |
lite, | |
sun_ptr ) |
Parameters
windex [Input]
project window index
lite [Input]
light
sun_ptr [Result]
sun
Returns
Error codes
Availability
7.0.0.0
Example Files
Function Set
Defined in