We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be326f6 commit 9c44856Copy full SHA for 9c44856
FinModelUtility/Fin/Fin/src/model/impl/VertexImpl.cs
@@ -238,6 +238,14 @@ public void SetColor(Vector4? color)
238
color.Value.W)
239
: null);
240
241
+ public void SetColor(Vector3? color)
242
+ => this.SetColor(color != null
243
+ ? FinColor.FromRgbFloats(
244
+ color.Value.X,
245
+ color.Value.Y,
246
+ color.Value.Z)
247
+ : null);
248
+
249
public void SetColor(IReadOnlyVector4? color)
250
=> this.SetColor(color != null
251
? FinColor.FromRgbaFloats(
0 commit comments