![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
void | Init () |
void | upxDeg () |
void | upyDeg () |
void | downxDeg () |
void | downyDeg () |
void | downzDeg () |
void | upzDeg () |
void | ToCenter () |
Public Attributes | |
bool | automove = false |
float | xSpeed = 400.0f |
float | ySpeed = 400.0f |
float | panSpeed = 2.0f |
float | zoomDampening = 20.0f |
float | rotationFactor = 50.0f |
float | strength = 0.5f |
Vector3 | originalCamPosition |
bool | centerChanged = false |
Vector3 | newposition |
Vector3 | cameraLocalPositionSave |
GameObject | newUIToggle |
bool | cameraTranslation = false |
float | joypadDeadzone = 0.01f |
float | distance = 20.0f |
Static Public Attributes | |
static bool | cameraStop = false |
static int | zoomRate = 200 |
static bool | guiControl = false |
static GameObject | LocCamera |
static Transform | target |
static Vector3 | targetOffset |
static float | currentDistance |
static float | desiredDistance |
static float | weight_cam = 0.0f |
Private Member Functions | |
void | Awake () |
void | OnEnable () |
void | Update () |
void | LateUpdate () |
void | joypadOperate () |
void | keyboardOperate () |
Static Private Member Functions | |
static float | ClampAngle (float angle, float min, float max) |
Private Attributes | |
float | xDeg = 0.0f |
float | yDeg = 0.0f |
float | zDeg = 0.0f |
Quaternion | currentRotation |
Quaternion | desiredRotation |
Quaternion | rotation |
Vector3 | position |
GameObject | LoadBox |
Camera | mainCamera |
Molecule3D | Molecule3DComp |
Definition at line 86 of file maxCamera.cs.
|
private |
Definition at line 138 of file maxCamera.cs.
References Init().
|
staticprivate |
Definition at line 418 of file maxCamera.cs.
void maxCamera.downxDeg | ( | ) |
Definition at line 195 of file maxCamera.cs.
Referenced by keyboardOperate().
void maxCamera.downyDeg | ( | ) |
Definition at line 201 of file maxCamera.cs.
Referenced by keyboardOperate().
void maxCamera.downzDeg | ( | ) |
Definition at line 207 of file maxCamera.cs.
void maxCamera.Init | ( | ) |
Definition at line 148 of file maxCamera.cs.
References distance.
Referenced by Awake(), OnEnable(), and ToCenter().
|
private |
Definition at line 441 of file maxCamera.cs.
References joypadDeadzone, UI.UIData.switchmode, and Molecule3D.ToParticle().
Referenced by LateUpdate().
|
private |
Manage the camera rotation with keyboard inputs.
Definition at line 496 of file maxCamera.cs.
References downxDeg(), downyDeg(), UI.UIData.guided, upxDeg(), and upyDeg().
Referenced by LateUpdate().
|
private |
Definition at line 288 of file maxCamera.cs.
References UI.UIData.guided, joypadOperate(), keyboardOperate(), UI.GUIMoleculeController.minOrthoSize, UI.UIData.newUIActivated, panSpeed, position, rotation, UI.UIData.switchmode, targetOffset, Molecule3D.ToNotParticle(), Molecule3D.ToParticle(), and zoomRate.
|
private |
Definition at line 143 of file maxCamera.cs.
References Init().
void maxCamera.ToCenter | ( | ) |
Definition at line 427 of file maxCamera.cs.
References Molecule.Model.MoleculeModel.cameraLocation, and Init().
Referenced by UI.LoadTypeGUI.MainFun(), and Molecule3D.SetCenter().
|
private |
Definition at line 219 of file maxCamera.cs.
References Molecule.Model.MoleculeModel.atomsLocationlist, automove, UI.UIData.newUIActivated, ClickAtom.objList, UI.GUIMoleculeController.toggle_NA_AUTOMOVE, and UI.GUIMoleculeController.toggle_NA_CLICK.
void maxCamera.upxDeg | ( | ) |
Definition at line 183 of file maxCamera.cs.
Referenced by keyboardOperate().
void maxCamera.upyDeg | ( | ) |
Definition at line 189 of file maxCamera.cs.
Referenced by keyboardOperate().
void maxCamera.upzDeg | ( | ) |
Definition at line 213 of file maxCamera.cs.
bool maxCamera.automove = false |
Definition at line 89 of file maxCamera.cs.
Referenced by UI.LoadTypeGUI.MainFun(), and Update().
Vector3 maxCamera.cameraLocalPositionSave |
Definition at line 104 of file maxCamera.cs.
|
static |
Definition at line 88 of file maxCamera.cs.
Referenced by UI.GUIMoleculeController.CameraStop(), GuidedNavigationManager.LateUpdateManager(), DraggableBillboard.OnMouseDown(), MouseOverMoleculeIMDSimulation.OnMouseDrag(), DraggableBillboard.OnMouseDrag(), MouseOverMolecule.OnMouseDrag(), DraggableBillboard.OnMouseUp(), MouseOverMoleculeIMDSimulation.OnMouseUp(), and MouseOverMolecule.OnMouseUp().
bool maxCamera.cameraTranslation = false |
Definition at line 107 of file maxCamera.cs.
bool maxCamera.centerChanged = false |
Definition at line 101 of file maxCamera.cs.
|
static |
Definition at line 128 of file maxCamera.cs.
Referenced by GuidedNavigationManager.LateUpdateManager(), and ElectrostaticManager.UpdateParameters().
|
private |
Definition at line 113 of file maxCamera.cs.
|
static |
Definition at line 129 of file maxCamera.cs.
Referenced by GuidedNavigationManager.LateUpdateManager().
|
private |
Definition at line 114 of file maxCamera.cs.
float maxCamera.distance = 20.0f |
Definition at line 131 of file maxCamera.cs.
Referenced by Init().
|
static |
Definition at line 117 of file maxCamera.cs.
float maxCamera.joypadDeadzone = 0.01f |
Definition at line 108 of file maxCamera.cs.
Referenced by joypadOperate().
|
private |
Definition at line 118 of file maxCamera.cs.
|
static |
Definition at line 120 of file maxCamera.cs.
|
private |
Definition at line 121 of file maxCamera.cs.
|
private |
Definition at line 123 of file maxCamera.cs.
Vector3 maxCamera.newposition |
Definition at line 103 of file maxCamera.cs.
GameObject maxCamera.newUIToggle |
Definition at line 105 of file maxCamera.cs.
Vector3 maxCamera.originalCamPosition |
Definition at line 100 of file maxCamera.cs.
float maxCamera.panSpeed = 2.0f |
Definition at line 95 of file maxCamera.cs.
Referenced by LateUpdate().
|
private |
Definition at line 116 of file maxCamera.cs.
Referenced by LateUpdate().
|
private |
Definition at line 115 of file maxCamera.cs.
Referenced by LateUpdate().
float maxCamera.rotationFactor = 50.0f |
Definition at line 97 of file maxCamera.cs.
float maxCamera.strength = 0.5f |
Definition at line 98 of file maxCamera.cs.
|
static |
Definition at line 125 of file maxCamera.cs.
Referenced by GuidedNavigationManager.goDownConstrained(), GuidedNavigationManager.goUpConstrained(), GuidedNavigationManager.keyboard(), GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.ReorientCamera().
|
static |
Definition at line 126 of file maxCamera.cs.
Referenced by LateUpdate().
|
static |
Definition at line 133 of file maxCamera.cs.
Referenced by GuidedNavigationManager.LateUpdateManager(), and GuidedNavigationManager.UpdateManager().
|
private |
Definition at line 109 of file maxCamera.cs.
float maxCamera.xSpeed = 400.0f |
Definition at line 91 of file maxCamera.cs.
|
private |
Definition at line 110 of file maxCamera.cs.
float maxCamera.ySpeed = 400.0f |
Definition at line 92 of file maxCamera.cs.
|
private |
Definition at line 111 of file maxCamera.cs.
float maxCamera.zoomDampening = 20.0f |
Definition at line 96 of file maxCamera.cs.
|
static |
Definition at line 94 of file maxCamera.cs.
Referenced by LateUpdate(), and GuidedNavigationManager.LateUpdateManager().