Click or drag to resize

ColorToRgba32 Method

Returns the color converted to a 32-bit integer in RGBA format (each byte represents a color channel). RGBA is Godot's default and recommended format.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int ToRgba32()

Return Value

Type: Int32
An int representing this color in RGBA32 format.
See Also