72 using System.Collections.Generic;
84 public static GameObject BondLineParent =
new GameObject(
"BondLineParent");
103 int Number=bondEPList.Count/number;
105 Debug.Log(
"DisplayBonds??bondEPList.Count " + bondEPList.Count);
108 for(
int i=0;i<Number;i++)
110 CreateLine(i*number);
113 GameObject lineManagerObj = GameObject.FindGameObjectWithTag(
"LineManager");
119 GameObject Line=
new GameObject(
"Line");
120 Line.transform.parent = BondLineParent.transform;
122 int[] atomsIds = bondEPList[i] as
int[];
124 LineRenderer lineRenderer = Line.AddComponent<LineRenderer>();
125 lineRenderer.SetVertexCount(2);
126 lineRenderer.material =
new Material (Shader.Find(
"Particles/Alpha Blended"));
138 comp.
posAtom1 =
new Vector3(posAtom1[0],posAtom1[1],posAtom1[2]);
139 comp.
posAtom2 =
new Vector3(posAtom2[0],posAtom2[1],posAtom2[2]);
static List< int[]> bondCAList
The bonds between carbon alpha in the CA-Spline.
static bool secondarystruct
Switch between all atoms and C-alpha trace or BFactor secondary structure representation.
!WiP Includes FLAGS of GUI.
static List< int[]> bondEPList
The bonds between atoms.
override void Init()
Initializes this instance of the manager.
static List< float[]> atomsLocationlist
The coordinates of each atom.