示例#1
0
    public void EdgeObjectQuickAdd(string tName)
    {
        EdgeObjectMaker EOM = AddEdgeObject();

        EOM.LoadFromLibrary(tName, true);
        EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
        EOM.tNode = this;
        EOM.Setup();
    }
示例#2
0
    public void EdgeObjectLoadFromLibrary(int i, string tName)
    {
        if (EdgeObjects == null)
        {
            EdgeObjects = new List <EdgeObjectMaker>();
        }
        int eCount = EdgeObjects.Count;

        if (i > -1 && i < eCount)
        {
            EdgeObjectMaker EOM = EdgeObjects[i];
            EOM.LoadFromLibrary(tName);
            EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
            EOM.tNode = this;
            EOM.Setup();
        }
    }