Binding of Isaac - Afterbirth+ Lua Reference/Guide

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
KColor Class Reference

## Public Member Functions
| KColor (float, float, float, float)
| KColor (float, float, float, float, integer, integer, integer)
| Reset ()
| SetTint (float RedTint, float GreenTint, float BlueTint, float AlphaTint)
| SetColorize (float Red, float Green, float Blue, float Amount)
| SetOffset (float RedOffset, float GreenOffset, float BlueOffset)
KColor & | __mul (KColor right)

## Static Public Member Functions
static KColor | Lerp (KColor m1, KColor m2, float t)

## Public Attributes
float | R
float | G
float | B
float | A
float | RO
float | GO
float | BO

## Constructor & Destructor Documentation

## ◆ KColor() [1/2]

KColor::KColor | ( | float | ,
|  | float | ,
|  | float | ,
|  | float |
| ) |  |

## ◆ KColor() [2/2]

KColor::KColor | ( | float | ,
|  | float | ,
|  | float | ,
|  | float | ,
|  | integer | ,
|  | integer | ,
|  | integer |
| ) |  |

## Member Function Documentation

## ◆ __mul()

KColor& KColor::__mul | ( | KColor | right | ) |

## ◆ Lerp()

static KColor KColor::Lerp | ( | KColor | m1,
|  | KColor | m2,
|  | float | t
| ) |  |
| static

## ◆ Reset()

KColor::Reset | ( |  | ) |

## ◆ SetColorize()

KColor::SetColorize | ( | float | Red,
|  | float | Green,
|  | float | Blue,
|  | float | Amount
| ) |  |

## ◆ SetOffset()

KColor::SetOffset | ( | float | RedOffset,
|  | float | GreenOffset,
|  | float | BlueOffset
| ) |  |

## ◆ SetTint()

KColor::SetTint | ( | float | RedTint,
|  | float | GreenTint,
|  | float | BlueTint,
|  | float | AlphaTint
| ) |  |

## Member Data Documentation

## ◆ A

float KColor::A

## ◆ B

float KColor::B

## ◆ BO

float KColor::BO

## ◆ G

float KColor::G

## ◆ GO

float KColor::GO

## ◆ R

float KColor::R

## ◆ RO

float KColor::RO