/// <summary> /// 単色透過の場合の透明色を指定(Windowsのみ対応) /// </summary> /// <param name="color"></param> public void SetKeyColor(Color32 color) { LibUniWinC.SetKeyColor((UInt32)(color.b * 0x10000 + color.g * 0x100 + color.r)); keyColor = color; }
/// <summary> /// 単色透過の場合の透明色を指定(Windowsのみ対応) /// </summary> /// <param name="color"></param> public void SetKeyColor(Color color) { LibUniWinC.SetKeyColor((UInt32)(color.B * 0x10000 + color.G * 0x100 + color.R)); ChromakeyColor = color; }