Click or drag to resize

Colorr8 Property

Wrapper for r that uses the range 0 to 255 instead of 0 to 1.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int r8 { get; set; }

Property Value

Type: Int32
Getting is equivalent to multiplying by 255 and rounding. Setting is equivalent to dividing by 255.
See Also