Representation of a transfer point within the Transferfunction.
More...
#import <TransferPoint.h>
List of all members.
Detailed Description
Representation of a transfer point within the Transferfunction.
The difference to the TransferNode is, that a TransferPoint saves, except of the color, no graphical content.
Member Function Documentation
Get the alpha compontent.
- Returns:
- A float value between 0 and 1 (included)
Get the blue compontent.
- Returns:
- A float value between 0 and 1 (included)
Get the green compontent.
- Returns:
- A float value between 0 and 1 (included)
Get the red compontent.
- Returns:
- A float value between 0 and 1 (included)
- (id) initAtIndex: |
|
(float) |
i |
red: |
|
(float) |
r |
green: |
|
(float) |
g |
blue: |
|
(float) |
b |
alpha: |
|
(float) |
a |
|
|
| |
Initialize a new TransferPoint All parameters have to be between 0 and 1 (included).
- Parameters:
-
i | The index |
r | The red compontent |
g | The green compontent |
b | The blue compontent |
a | The alpha compontent |
- Returns:
- A pointer to the object
Property Documentation
- (float) alpha [read, write, assign] |
- (float) blue [read, write, assign] |
- (float) green [read, write, assign] |
- (float) index [read, write, assign] |
- (float) red [read, write, assign] |
The documentation for this class was generated from the following files: