コード例 #1
0
        public static Vec4ub ToVec4ub(this Color3f color)
        {
            ColorSetter3b setter = new ColorSetter3b();

            color.GetColor(setter);
            return(new Vec4ub(setter.C1, setter.C2, setter.C3, 1));
        }