unreal.Color

class unreal.Color(b: int = 0, g: int = 0, r: int = 0, a: int = 0)

Bases: StructBase

Stores a color with 8 bits of precision per channel. (BGRA). note: The full C++ class is located here: EngineSourceRuntimeCorePublicMathColor.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (uint8): [Read-Write] A

  • b (uint8): [Read-Write] B

  • g (uint8): [Read-Write] G

  • r (uint8): [Read-Write] R

property a: int

[Read-Write] A

Type:

(uint8)

property b: int

[Read-Write] B

Type:

(uint8)

property g: int

[Read-Write] G

Type:

(uint8)

property r: int

[Read-Write] R

Type:

(uint8)