public override Vector4[] GetV4(VertexDataDestination trg)
            {
                if (trg.GetType() == typeof(VertexTangentTrg))
                {
                    CurMeshDta.mesh.RecalculateTangents();
                    return(null);
                }

                return(v4s);
            }
 public override Vector3[] GetV3(VertexDataDestination trg) => _vertices;
 public override Vector2[] GetV2(VertexDataDestination trg) => v2s;
 public VertexDataLink(VertexDataDestination ntrg)
 {
     Destination = ntrg;
     InitVals();
     ntrg.SetDefaults(this);
 }
 public static bool IsDestinationType <T>(this VertexDataDestination vd) where T : VertexDataDestination => vd.GetType() == typeof(T);
 public override Vector3[] GetV3(VertexDataDestination trg)
 {
     return(edges);
 }
 public virtual Vector4[] GetV4(VertexDataDestination trg)
 {
     Debug.Log("Mesh Data type " + GetType() + " does not provide Vector4 array");
     return(null);
 }
 public override Vector4[] GetV4(VertexDataDestination trg) => _edges;
 public override Vector4[] GetV4(VertexDataDestination trg)
 {
     return(textureNumbers);
 }
 public override Vector4[] GetV4(VertexDataDestination trg) => _shadows;
 public override Vector3[] GetV3(VertexDataDestination trg) => v3norms;
 public override Vector3[] GetV3(VertexDataDestination trg)
 {
     GenerateIfNull();
     return(v3norms);
 }