A Sky actor is one of the main actor types, it has its own data structure and is stored separately. Each animation can only have ONE Sky
Definition at line 282 of file ASTRUCT.H.
Data Fields | |
char | name [128] |
The name of the Sky actor. | |
short | type |
The type of sky (simple Backdrop etc. ). | |
unsigned char | colour [3] |
The sky's horizon colour. | |
unsigned char | zcolour [3] |
The Sky's zenith colour. | |
struct Animator_SKY * | last |
double linked list pointer to last | |
struct Animator_SKY * | next |
double linked list pointer to next | |
short | firstframe |
The first frame of this segment of the timeline. | |
short | lastframe |
The last frame of this segment of the timeline. | |
double | gamb |
For Blended Sky this is the blending paramter. Not used. | |
double | oamb |
For Blended Sky this is the blending paramter. Not used. | |
double | gamb_colour [3] |
Not used (included for special renderer). | |
double | oamb_colour [3] |
Not used (included for special renderer). | |
long | aff |
For animated Sky backdrops this is the first frame. | |
long | alf |
For animated Sky backdrops this is the last frame. | |
long | ast |
For animated Sky backdrops this is the frame interval. | |
double | sky_params [32] |
Array of parameters Parameter 0 = ambient environ temp C, 1 = zenith temperature K 2 = attenuation dB. | |
char | sky_params_file [256] |
Some Sky parameters may require to be loaded from a file, if so this will be the file name. | |
RAMIMAGE | image |
the image associated with this sky. |
char name[128] |
The name of the Sky actor.
Definition at line 283 of file ASTRUCT.H.
Referenced by LoadAnimationFile(), MakeScript(), SaveAnimationFile(), SkyCostumeInfo(), and SkyInfo().
short type |
The type of sky (simple Backdrop etc. ).
Definition at line 284 of file ASTRUCT.H.
Referenced by _ExternalPreset(), CreateSky(), GetCommand(), GetMirrorValues(), GetSkyLocation(), LoadAnimationFile(), MakeScript(), PutBackIntersection(), SaveAnimationFile(), SkyCostumeInfo(), SkyInfo(), StartDefault(), and trace_refraction_ray().
unsigned char colour[3] |
The sky's horizon colour.
Definition at line 285 of file ASTRUCT.H.
Referenced by CreateSky(), CreateVRMLfile(), LoadAnimationFile(), MakeScript(), SaveAnimationFile(), and StartDefault().
unsigned char zcolour[3] |
The Sky's zenith colour.
Definition at line 285 of file ASTRUCT.H.
Referenced by _ExternalPreset(), CreateSky(), CreateVRMLfile(), LoadAnimationFile(), MakeScript(), SaveAnimationFile(), and StartDefault().
struct Animator_SKY* last [read] |
double linked list pointer to last
Definition at line 287 of file ASTRUCT.H.
Referenced by CreateSky(), DeleteSky(), GetTimeGapAtFrame(), MakeScript(), and SetNumberOfFrames().
struct Animator_SKY* next [read] |
double linked list pointer to next
Definition at line 288 of file ASTRUCT.H.
Referenced by CreateSky(), CreateVRMLfile(), DeleteRangeOfFrames(), DeleteSky(), EditObject(), GetObjectAtFrame(), GetTimeGapAtFrame(), InsertFrames(), MakeScript(), SaveAnimationFile(), SetNumberOfFrames(), ShiftAllKeys(), SkyCostumeInfo(), and SkyInfo().
short firstframe |
The first frame of this segment of the timeline.
Definition at line 289 of file ASTRUCT.H.
Referenced by CreateSky(), CreateVRMLfile(), DeleteRangeOfFrames(), DeleteSky(), EditObject(), GetObjectAtFrame(), GetTimeGapAtFrame(), InsertFrames(), MakeScript(), SaveAnimationFile(), SetNumberOfFrames(), ShiftAllKeys(), SkyCostumeInfo(), and SkyInfo().
short lastframe |
The last frame of this segment of the timeline.
Definition at line 289 of file ASTRUCT.H.
Referenced by CreateSky(), DeleteNode(), DeleteRangeOfFrames(), DeleteSky(), GetTimeGapAtFrame(), InsertFrames(), MakeScript(), SaveAnimationFile(), SetNumberOfFrames(), and ShiftAllKeys().
double gamb |
For Blended Sky this is the blending paramter. Not used.
Definition at line 291 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
double oamb |
For Blended Sky this is the blending paramter. Not used.
Definition at line 291 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
double gamb_colour[3] |
Not used (included for special renderer).
Definition at line 291 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), and SaveAnimationFile().
double oamb_colour[3] |
Not used (included for special renderer).
Definition at line 291 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), and SaveAnimationFile().
long aff |
For animated Sky backdrops this is the first frame.
Definition at line 295 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
long alf |
For animated Sky backdrops this is the last frame.
Definition at line 295 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
long ast |
For animated Sky backdrops this is the frame interval.
Definition at line 295 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
double sky_params[32] |
Array of parameters Parameter 0 = ambient environ temp C, 1 = zenith temperature K 2 = attenuation dB.
Definition at line 298 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), MakeScript(), and SaveAnimationFile().
char sky_params_file[256] |
Some Sky parameters may require to be loaded from a file, if so this will be the file name.
Definition at line 299 of file ASTRUCT.H.
Referenced by CreateSky(), LoadAnimationFile(), and SaveAnimationFile().
the image associated with this sky.
Definition at line 300 of file ASTRUCT.H.
Referenced by CreateSky(), DeleteSky(), EditSkyDialog(), and MakeScript().