Color
A structure that holds a rgba color value
Properties
a : Float
The alpha (opacity) portion of the color.
Details
| Flags | RuntimeSync RuntimeParallel RuntimeAsync |
|---|---|
Display Name |
Alpha |
b : Float
The blue portion of the color.
Details
| Flags | RuntimeSync RuntimeParallel RuntimeAsync |
|---|---|
Display Name |
Blue |
Functions
FIR_Operator_Mul_1 (factor : Float) → result : Struct<Vector>
Details
Flags |
RuntimeSync RuntimeParallel RuntimeAsync MemberFunc |
Display Name |
Color Factor Scaling |
| Name | Type | Description |
|---|---|---|
Factor |
Float |
The factor with which this color should be scaled with. |
| Name | Type | Description |
|---|---|---|
Result |
Struct<Vector> |
The resulting scaled color. |
FIR_Operator_Div_1 (factor : Float) → result : Struct<Vector>
Details
Flags |
RuntimeSync RuntimeParallel RuntimeAsync MemberFunc |
Display Name |
Color Inverse Factor Scaling |
| Name | Type | Description |
|---|---|---|
Factor |
Float |
The factor with which this color should be scaled inversly with. |
| Name | Type | Description |
|---|---|---|
Result |
Struct<Vector> |
The resulting inverse scaled color. |
FIR_Operator_Add (other : Struct<Color>) → result : Struct<Color>
The addition (+) operator for this struct.
Details
FIR_Operator_Neg_1 () → result : Struct<Color>
The Negation operator for this struct. Does NOT make the color negative. Calculates 1 - this.
Details
Flags |
RuntimeSync RuntimeParallel RuntimeAsync MemberFunc |
Display Name |
Operator Neg |
| Name | Type | Description |
|---|---|---|
Result |
Struct<Color> |
The resulting color of the color addition |
FIR_Operator_Sub (other : Struct<Color>) → result : Struct<Color>
The subtraction (-) operator for this struct.
Details
Flags |
RuntimeSync RuntimeParallel RuntimeAsync MemberFunc |
Display Name |
Operator Sub |
| Name | Type | Description |
|---|---|---|
Other |
Struct<Color> |
The other color that should be subtracted from this color |
| Name | Type | Description |
|---|---|---|
Result |
Struct<Color> |
The resulting color of the color subtraction |