基础功能数据结构Color3本页总览Color3 描述: 只包含红色、绿色和蓝色通道的颜色类。 类对象:Color3 Class。 r 类型: 成员变量。 描述: 颜色的红色通道,取值为 0 到 255 之间。 签名: r: integer g 类型: 成员变量。 描述: 颜色的绿色通道,取值为 0 到 255 之间。 签名: g: integer b 类型: 成员变量。 描述: 颜色的蓝色通道,取值为 0 到 255 之间。 签名: b: integer toRGB 类型: 函数。 描述: 将颜色转换为RGB整数值。 签名: toRGB: function(self: Color3): integer 返回值: 返回类型描述integer转换后的RGB整数。