![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Attributes | |
Vector3 | target |
Shader | shaderDifuse |
Shader | shaderTransparent |
GameObject | o |
GameObject | parentObj |
Private Member Functions | |
void | Start () |
void | MakeTransparent (int c) |
void | MakeOpaque () |
void | Update () |
void | SetDifuseShading (GameObject f) |
void | OnDrawGizmos () |
Private Attributes | |
RaycastHit[] | backupHits |
int | count = 0 |
ArrayList | AtomsHit = new ArrayList() |
ArrayList | AtomsHitCurrent = new ArrayList() |
ArrayList | TransparentAtoms = new ArrayList() |
Vector3 | sphere_start = Vector3.zero |
Definition at line 20 of file TransparentFocus.cs.
|
private |
Apply opacity on atoms previously transparent but not in the focus anymore
Definition at line 68 of file TransparentFocus.cs.
Referenced by Update().
|
private |
Apply transparence on atoms located between the camera and the target
Definition at line 44 of file TransparentFocus.cs.
Referenced by Update().
|
private |
Definition at line 191 of file TransparentFocus.cs.
|
private |
Definition at line 183 of file TransparentFocus.cs.
|
private |
Definition at line 35 of file TransparentFocus.cs.
|
private |
Definition at line 90 of file TransparentFocus.cs.
References UI.UIData.atomtype, MakeOpaque(), MakeTransparent(), GuidedNav.GNParameters.optim_target, UI.UIData.optim_view, sphere_start, and target.
|
private |
Definition at line 29 of file TransparentFocus.cs.
|
private |
Definition at line 30 of file TransparentFocus.cs.
|
private |
Definition at line 27 of file TransparentFocus.cs.
|
private |
Definition at line 28 of file TransparentFocus.cs.
GameObject TransparentFocus.o |
Definition at line 25 of file TransparentFocus.cs.
GameObject TransparentFocus.parentObj |
Definition at line 26 of file TransparentFocus.cs.
Shader TransparentFocus.shaderDifuse |
Definition at line 23 of file TransparentFocus.cs.
Shader TransparentFocus.shaderTransparent |
Definition at line 24 of file TransparentFocus.cs.
|
private |
Definition at line 32 of file TransparentFocus.cs.
Referenced by Update().
Vector3 TransparentFocus.target |
Definition at line 22 of file TransparentFocus.cs.
Referenced by Update().
|
private |
Definition at line 31 of file TransparentFocus.cs.