FBPropertyColor class.
Similar in use to FBPropertyVector3d
# Supported list protocol methods: c = FBPropertyColor() len(c) print c[0] c[0] = 1.0 print c.Data c.Data=FBColor(1.0,0.5,0.5)

Public Member Functions |
|
| int | __len__ () |
| Returns the number of elements. |
|
| double | __getitem__ (int pIndex) |
| Returns the ith component Corresponds to
python: print c[1]. |
|
| __setitem__ (int pIndex, double pComponentValue) | |
| Sets the ith components Corresponds to
python: c[1] = 0.5. |
|
Public Attributes |
|
| FBColor | Data |
| Read Write Property: The property
data value. |
|
| int __len__ | ( | ) |
| double __getitem__ | ( | int | pIndex | ) |
Returns the ith component Corresponds to python: print c[1].
| pIndex | Index of the components to get (0 to 1) |
| __setitem__ | ( | int | pIndex, |
| double | pComponentValue | ||
| ) |
Sets the ith components Corresponds to python: c[1] = 0.5.
| pIndex | Index of the components to set (0 to 1) |
| pComponentValue | Value of component to set |
Read Write Property: The property data value.
Type of this depends on the subclass of FBProperty (ex: in a FBPropertyInt, Data is of type int).
Reimplemented from FBProperty.