LOOffset Class Reference
An offset can spcify when a channel should start or end fading as part of a scene.
More...
#import <LOOffset.h>
|
Public Member Functions |
(id) | - initWithXML: |
| Initilise with an XML Element.
|
(NSXMLElement *) | - XML |
| Get the Scene details as XML.
|
(unsigned char) | - fadeForOffset:andValue: |
| Called to get the fade channel value for a given offset.
|
(float) | - startOffset |
(void) | - setStartOffset: |
(float) | - endOffset |
(void) | - setEndOffset: |
Protected Attributes |
float | startOffset |
float | endOffset |
unsigned int | start |
| The start offset as a 16 bit.
|
unsigned int | end |
| The end offset as a 16 bit.
|
Detailed Description
An offset can spcify when a channel should start or end fading as part of a scene.
For instance it might be desirable to begin a channel fade part way through a scene fade. If each channel in the scene has a different profile some interesting effects could be integrated into a single scene.
Member Function Documentation
- (unsigned char) fadeForOffset: |
|
(unsigned int) |
offset |
andValue: |
|
(unsigned char) |
value | |
|
|
| | |
Called to get the fade channel value for a given offset.
- Parameters:
-
| offset | The fade offset (16 bit) |
| value | The fullscale channel value (8 bit) |
- Returns:
- The faded channel value (8 bit)
- (id) initWithXML: |
|
(NSXMLElement *) |
XMLElement |
|
|
Initilise with an XML Element.
- See also:
- - XML
Get the Scene details as XML.
<fadeProfile start="0x0000" end="0xFFFF"/>
- Returns:
- The XML Representation of the scene
- See also:
- - initWithXML:
The documentation for this class was generated from the following files: