Beispiel #1
0
    public void SplinatedObjectQuickAdd(string tName)
    {
        SplinatedMeshMaker SMM = AddSplinatedObject();

        SMM.LoadFromLibrary(tName, true);
        SMM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
        SMM.Setup(true);
    }
Beispiel #2
0
    public void SetupSplinatedMesh(int i, bool bGetStrings = false)
    {
        if (SplinatedObjects == null)
        {
            SplinatedObjects = new List <SplinatedMeshMaker>();
        }
        int eCount = SplinatedObjects.Count;

        if (i > -1 && i < eCount)
        {
            SplinatedMeshMaker SMM = SplinatedObjects[i];
            SMM.Setup(bGetStrings);
        }
    }
Beispiel #3
0
    public void SetupSplinatedMeshes(bool bCollect = true)
    {
        if (SplinatedObjects == null)
        {
            SplinatedObjects = new List <SplinatedMeshMaker>();
        }
        int eCount             = SplinatedObjects.Count;
        SplinatedMeshMaker SMM = null;

        for (int i = 0; i < eCount; i++)
        {
            SMM = SplinatedObjects[i];
            SMM.Setup(true, bCollect);
        }
    }
Beispiel #4
0
    public void SplinatedObjectLoadFromLibrary(int i, string tName)
    {
        if (SplinatedObjects == null)
        {
            SplinatedObjects = new List <SplinatedMeshMaker>();
        }
        int eCount = SplinatedObjects.Count;

        if (i > -1 && i < eCount)
        {
            SplinatedMeshMaker SMM = SplinatedObjects[i];
            SMM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
            SMM.LoadFromLibrary(tName);
            SMM.Setup(true);
        }
    }