public override Vector4[] GetV4(VertexDataDestination trg) { if (trg.GetType() == typeof(VertexTangentTrg)) { CurMeshDta.mesh.RecalculateTangents(); return(null); } return(v4s); }
public static bool IsDestinationType <T>(this VertexDataDestination vd) where T : VertexDataDestination => vd.GetType() == typeof(T);