MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Alpha

Function Alpha

include/Color.hpp:209–209  ·  view source on GitHub ↗

* Returns color with alpha applied, alpha goes from 0.0f to 1.0f */

Source from the content-addressed store, hash-verified

207 * Returns color with alpha applied, alpha goes from 0.0f to 1.0f
208 */
209 RLCPP_NODISCARD Color Alpha(float alpha) const { return ::ColorAlpha(*this, alpha); }
210
211 Color Lerp(::Color color2, float factor) {
212 return ::ColorLerp(*this, color2, factor);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected