Api Rgba16
struct

Rgba16

public sealed struct Rgba16

Constructors

Rgba16(Color color)

Methods

Color ToColor()

Convert this object to Color.

returns — The converted color struct.

Fields

Name Type Description
r Half The red color component
g Half The green color component
b Half The blue color component
a Half The alpha/transparency color component, in range of 0 (fully transparent) to 255 (fully opaque).
Assembly: Sandbox.System Declaring Type: Color Full Name: Color.Rgba16