コード例 #1
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
	public void AddConnection ( OGLineNode node, Vector3[] segments ) {
		List< Connection > tmp = new List< Connection > ( connections );
		
		tmp.Add ( new Connection ( node, segments ) );

		connections = tmp.ToArray ();
	}
コード例 #2
0
    public void AddConnection(OGLineNode node, Vector3[] segments)
    {
        List <Connection> tmp = new List <Connection> (connections);

        tmp.Add(new Connection(node, segments));

        connections = tmp.ToArray();
    }
コード例 #3
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
	public void SetConnection ( int i, OGLineNode node, Vector3[] segments ) {
		List< Connection > tmp = new List< Connection > ( connections );

		if ( i >= tmp.Count ) {
			for ( int n = tmp.Count; n <= i; n++ ) {
				tmp.Add ( null );
			}
		}

		tmp[i] = new Connection ( node, segments );

		connections = tmp.ToArray ();
	}
コード例 #4
0
    public void SetConnection(int i, OGLineNode node, Vector3[] segments)
    {
        List <Connection> tmp = new List <Connection> (connections);

        if (i >= tmp.Count)
        {
            for (int n = tmp.Count; n <= i; n++)
            {
                tmp.Add(null);
            }
        }

        tmp[i] = new Connection(node, segments);

        connections = tmp.ToArray();
    }
コード例 #5
0
 public void SetConnection(int i, OGLineNode node)
 {
     SetConnection(i, node, new Vector3 [0]);
 }
コード例 #6
0
 public void AddConnection(OGLineNode node)
 {
     AddConnection(node, new Vector3 [0]);
 }
コード例 #7
0
 public Connection(OGLineNode node, Vector3[] segments)
 {
     this.node     = node;
     this.segments = segments;
 }
コード例 #8
0
 public Connection(OGLineNode node)
 {
     this.node = node;
 }
コード例 #9
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
	public void SetConnection ( int i, OGLineNode node ) {
		SetConnection ( i, node, new Vector3 [0] );
	}
コード例 #10
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
	public void AddConnection ( OGLineNode node ) {
		AddConnection ( node, new Vector3 [0] );
	}
コード例 #11
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
		public Connection ( OGLineNode node, Vector3[] segments ) {
			this.node = node;
			this.segments = segments;
		}
コード例 #12
0
ファイル: OGLineNode.cs プロジェクト: flashwade03/opengui
		public Connection ( OGLineNode node ) {
			this.node = node;
		}