internal static unsafe void Invoke(StaticMeshComponent StaticMeshComponent, LinearColor StartColor, LinearColor EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = StaticMeshComponent; *((LinearColor *)(b + 8)) = StartColor; *((LinearColor *)(b + 24)) = EndColor; *(b + 40) = (byte)Axis; *((bool *)(b + 41)) = bConvertToSRGB; Main.GetProcessEvent(MeshVertexPainterKismetLibrary.DefaultObject, PaintVerticesLerpAlongAxis_ptr, new IntPtr(p));; } }
///<summary>Paints vertex colors on a mesh component lerping from the start to the end color along the specified axis.</summary> public static void PaintVerticesLerpAlongAxis(StaticMeshComponent StaticMeshComponent, LinearColor StartColor, LinearColor EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB) => MeshVertexPainterKismetLibrary_methods.PaintVerticesLerpAlongAxis_method.Invoke(StaticMeshComponent, StartColor, EndColor, Axis, bConvertToSRGB);