示例#1
0
 public static Color ToUnityLinear(this VrmLib.LinearColor value)
 {
     return(value.RGBA.ToUnityColor());
 }
示例#2
0
 public static void SetColor(this VrmMaterial m, string key, VrmLib.LinearColor color)
 {
     m.SetColor(key, new Vector4(color.RGBA.X, color.RGBA.Y, color.RGBA.Z, color.RGBA.W));
 }
示例#3
0
 public static Color ToUnitySRGB(this VrmLib.LinearColor value)
 {
     return(value.RGBA.ToUnityColor().gamma);
 }