UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
GenericAtomManager.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System
.Collections;
3
4
public
struct
SingleAtomSelection
{
5
// The identifier of the atom, as found in the PDB file.
6
public
int
pdbIndex
;
7
// The scene object of the selected atom.
8
// Relies on GenericAtomManager implementations representations.
9
public
GameObject
go
;
10
}
11
12
public
interface
GenericAtomManager
{
13
//
14
// IMD simulation "API".
15
//
16
17
// Returns the closest atom game object in space from a given position during an IMD simulation.
18
SingleAtomSelection
getClosestAtomGameObject(Vector3 position);
19
// Instantiate atom selection mono behavior script for every atom.
20
void
CreateMouseOversIMDSimulation();
21
// Deinstantiate atom selection mono behavior script for every atom.
22
void
DestroyMouseOversIMDSimulation();
23
24
}
SingleAtomSelection
Definition:
GenericAtomManager.cs:4
System
GenericAtomManager
Definition:
GenericAtomManager.cs:12
SingleAtomSelection.pdbIndex
int pdbIndex
Definition:
GenericAtomManager.cs:6
UnityEngine
SingleAtomSelection.go
GameObject go
Definition:
GenericAtomManager.cs:9
Assets
Scripts
Molecule
View
GenericAtomManager.cs
Generated on Wed Aug 3 2016 15:10:27 for UnityMol by
1.8.11