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

g : Float

The green portion of the color.

Details
Flags RuntimeSync RuntimeParallel RuntimeAsync

Display Name

Green

r : Float

The red portion of the color.

Details
Flags RuntimeSync RuntimeParallel RuntimeAsync

Display Name

Red

Functions

FIR_Operator_Mul_1 (factor : Float) → result : Struct<Vector>

Details

Flags

RuntimeSync RuntimeParallel RuntimeAsync MemberFunc

Display Name

Color Factor Scaling

Parameters
Name Type Description

Factor factor

Float

The factor with which this color should be scaled with.

Return Values
Name Type Description

Result 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

Parameters
Name Type Description

Factor factor

Float

The factor with which this color should be scaled inversly with.

Return Values
Name Type Description

Result result

Struct<Vector>

The resulting inverse scaled color.

FIR_Operator_Add (other : Struct<Color>) → result : Struct<Color>

The addition (+) operator for this struct.

Details

Flags

RuntimeSync RuntimeParallel RuntimeAsync MemberFunc

Display Name

Operator Add

Parameters
Name Type Description

Other other

Struct<Color>

The other color that should be added to this color

Return Values
Name Type Description

Result result

Struct<Color>

The resulting color of the color addition

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

Return Values
Name Type Description

Result 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

Parameters
Name Type Description

Other other

Struct<Color>

The other color that should be subtracted from this color

Return Values
Name Type Description

Result result

Struct<Color>

The resulting color of the color subtraction