![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
override void | Init () |
override void | DestroyAll () |
override void | SetColor (Color col, List< string > atoms, string residue="All", string chain="All") |
override void | SetColor (Color col, int atomNum) |
override void | SetRadii (List< string > atoms, string residue="All", string chain="All") |
override void | SetRadii (int atomNum) |
override GameObject | GetBall (int id) |
override void | ToggleDistanceCueing (bool enabling) |
override void | ResetRadii () |
override void | EnableRenderers () |
override void | DisableRenderers () |
override void | EnableShadows () |
override void | DisableShadows () |
override void | ResetPositions () |
override void | ResetIMDSimulationPositions () |
override void | showHydrogens (bool hide) |
Public Attributes | |
ParticleSystem | pSystem |
![]() | |
bool | isInit = false |
Static Public Attributes | |
static int | pNumber |
static float | radiusFactor |
Private Member Functions | |
void | CheckParticles () |
void | ResetColors () |
void | Update () |
Private Attributes | |
Particle[] | sourceParticles |
ParticleSystem.Particle[] | particles |
Static Private Attributes | |
static Vector3 | LITTLE_OFFSET = new Vector3(0f, 0f, -1f) |
Definition at line 68 of file ShurikenParticleManager.cs.
|
private |
Used for debugging.
Prints the position and color of each particle.
Definition at line 133 of file ShurikenParticleManager.cs.
References pNumber.
|
virtual |
Implements GenericManager.
Definition at line 106 of file ShurikenParticleManager.cs.
References GenericManager.isInit.
Referenced by Molecule.View.DisplayMolecule.DestroyAllAtomsAndBonds().
|
virtual |
Disables this script and the renderer of its particle system.
Implements GenericManager.
Definition at line 194 of file ShurikenParticleManager.cs.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 202 of file ShurikenParticleManager.cs.
|
virtual |
Enables this script and the renderer of its particle system.
Implements GenericManager.
Definition at line 179 of file ShurikenParticleManager.cs.
References Molecule.Model.MoleculeModel.atomsLocationlist, UI.UIData.guided, and pNumber.
|
virtual |
Implements GenericManager.
Definition at line 198 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 122 of file ShurikenParticleManager.cs.
|
virtual |
Initializes this instance of the ParticleSystem Manager.
Implements GenericManager.
Definition at line 80 of file ShurikenParticleManager.cs.
References GenericManager.isInit, LITTLE_OFFSET, Molecule.Model.MoleculeModel.p, particles, pNumber, and BallUpdate.radiusFactor.
Referenced by Molecule.View.DisplayAtom.AtomParticleStyle.DisplayAtoms().
|
private |
Definition at line 164 of file ShurikenParticleManager.cs.
References UI.UIData.atomtype, BallUpdate.bondsReadyToBeReset, and BallUpdate.resetColors.
|
virtual |
Implements GenericManager.
Definition at line 231 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 222 of file ShurikenParticleManager.cs.
References Molecule.Model.MoleculeModel.atomsLocationlist, and particles.
|
virtual |
Resets the radii of the particle balls as needed when it is changed through the GUI.
Implements GenericManager.
Definition at line 153 of file ShurikenParticleManager.cs.
References BallUpdate.oldRadiusFactor, pNumber, and BallUpdate.radiusFactor.
Referenced by Update().
|
virtual |
Implements GenericManager.
Definition at line 113 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 116 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 119 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 120 of file ShurikenParticleManager.cs.
|
virtual |
Implements GenericManager.
Definition at line 239 of file ShurikenParticleManager.cs.
References Molecule.Model.MoleculeModel.atomsTypelist, and pNumber.
|
virtual |
Implements GenericManager.
Definition at line 126 of file ShurikenParticleManager.cs.
|
private |
Definition at line 209 of file ShurikenParticleManager.cs.
References UI.UIData.atomtype, DisableRenderers(), UI.UIData.isFileLoaded, BallUpdate.oldRadiusFactor, BallUpdate.radiusFactor, and ResetRadii().
|
staticprivate |
Definition at line 71 of file ShurikenParticleManager.cs.
Referenced by Init().
|
private |
Definition at line 72 of file ShurikenParticleManager.cs.
Referenced by Init(), and ResetPositions().
|
static |
Definition at line 73 of file ShurikenParticleManager.cs.
Referenced by CheckParticles(), EnableRenderers(), Init(), ResetRadii(), and showHydrogens().
ParticleSystem ShurikenParticleManager.pSystem |
Definition at line 69 of file ShurikenParticleManager.cs.
|
static |
Definition at line 75 of file ShurikenParticleManager.cs.
|
private |
Definition at line 70 of file ShurikenParticleManager.cs.