unreal.Color

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

Bases: unreal.StructBase

Stores a color with 8 bits of precision per channel. (BGRA). 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
a

(uint8) – [Read-Write] A

b

(uint8) – [Read-Write] B

g

(uint8) – [Read-Write] G

r

(uint8) – [Read-Write] R