UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
Reaction.cs
Go to the documentation of this file.
1
namespace
Molecule
.Model
2
{
3
using
UnityEngine
;
4
using
System
.Collections;
5
//Aurelien : class containing additional data needed for a reaction
6
public
class
Reaction
7
{
8
public
static
ArrayList coord =
new
ArrayList();
//Contains arraylists containing coordinates for all atoms (float[3])
9
public
static
int
[]
CatomsIndList
;
//Used to keep the C atoms information when reading animation files
10
public
static
int
Catomscount = 0;
//Same as above
11
public
static
bool
isReaction =
false
;
//Used in the Update method in Molecule3D to identify that a reaction has to be done
12
public
static
int
count
;
//Number of steps of the reaction
13
public
static
int
acount
;
//Number of atoms involved in the reaction
14
public
static
int
current = 0;
//Current step in the reaction, Reaction.current is incremented after the atoms' coordinates changes
15
public
static
bool
isReady =
false
;
//Used to know when the atoms' GameObjects are created and can be used
16
public
static
bool
affichage =
false
;
//Used to set atom and bond types to hyperball/hyperstick in Molecule3D.Update()
17
public
static
bool
forward =
true
;
//Used to know whether the reaction is animated backwards or not
18
public
static
bool
top =
false
;
//Used to determine whether a top file has been read or not (changes a button in the animation menu)
19
public
static
bool
animation =
false
;
//Used to determine whether there is a animation or not
20
21
public
Reaction
()
22
{
23
24
}
25
}
26
}
Molecule.Model.Reaction.acount
static int acount
Definition:
Reaction.cs:13
System
Molecule.Model.Reaction.CatomsIndList
static int[] CatomsIndList
Definition:
Reaction.cs:9
Molecule.Model.Reaction
Definition:
Reaction.cs:6
UnityEngine
Molecule
Molecule.Model.Reaction.count
static int count
Definition:
Reaction.cs:12
Molecule.Model.Reaction.Reaction
Reaction()
Definition:
Reaction.cs:21
Assets
Scripts
Molecule
Model
Reaction.cs
Generated on Wed Aug 3 2016 15:10:26 for UnityMol by
1.8.11