Name: | Reflection |
Version: | 1.0 |
ID: | ID_REFLECTION |
Status: | Beta |
Category: | Effect |
Date: | July 2003 |
Author: | Rocklyte Systems |
Copyright: | Rocklyte Systems (c) 2003. All rights reserved. |
Short: | Creates water reflections in real time. |
The Reflection class draws an animated effect that emulates the appearance of reflected water. Although it may appear complex, the reflection algorithm uses a simple line copying technique, at very little cost to the CPU. This makes it an excellent effect to use when an animation is required that isn't going to be a burden on the system.
Once initialised, the effect will run automatically until the object is freed from the system.
The Reflection object consists of the following public fields:
Height The height of the ripple graphic is specified here. Opacity Determines the level of translucency applied to the reflection. Speed The speed at which the reflection vertically shifts can be altered in this field. WaterLevel Determines the level at which the water reflection starts. Width The width of the ripple graphic is specified here. XCoord Defines the horizontal position of the ripple graphic. XOffset Defines the horizontal offset of the ripple graphic. YCoord Defines the vertical position of the ripple graphic. YOffset Defines the vertical offset of the ripple graphic.
Field: | Opacity | |
Short: | Determines the level of translucency applied to the reflection. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Get/Set | |
|
Field: | Speed | |
Short: | The speed at which the reflection vertically shifts can be altered in this field. | |
Type: | LONG | |
Status: | Read/Set | |
|
Field: | WaterLevel | |
Short: | Determines the level at which the water reflection starts. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Set | |
|
Field: | Width | |
Short: | The width of the ripple graphic is specified here. | |
Type: | DOUBLE/PERCENTAGE | |
Status: | Get/Set | |
|
Field: | XCoord | |
Short: | Defines the horizontal position of the ripple graphic. | |
Type: | DOUBLE/PERCENTAGE | |
Status: | Get/Set | |
|
Field: | XOffset | |
Short: | Defines the horizontal offset of the ripple graphic. | |
Type: | DOUBLE/PERCENTAGE | |
Status: | Get/Set | |
|
Field: | YCoord | |
Short: | Defines the vertical position of the ripple graphic. | |
Type: | DOUBLE/PERCENTAGE | |
Status: | Get/Set | |
|
Field: | YOffset | |
Short: | Defines the vertical offset of the ripple graphic. | |
Type: | DOUBLE/PERCENTAGE | |
Status: | Get/Set | |
|