UnityMol  1.0.25beta
UMol.ManipulationManager Class Reference
Inheritance diagram for UMol.ManipulationManager:

Public Member Functions

void resetPosition ()
 
void resetRotation ()
 
void setSelectedOject (Transform seleT)
 
void centerOnStructure (UnityMolStructure s, bool lerp)
 
void centerOnStructureLerp (UnityMolStructure s)
 
void setRotationCenter (Vector3 pos)
 
void centerOnSelection (UnityMolSelection sel, bool lerp, float distance=-1.0f)
 
void centerOnSelectionLerp (UnityMolSelection sel, float distance)
 
void emulateLookAtPOV (UnityMolSelection sel, Vector3 pov, Vector3 targetPos, bool lerp=false)
 

Public Attributes

Transform currentTransform
 
float moveSpeed = 5.0f
 
float scrollSpeed = 5.0f
 
float speedX = 1.0f
 
float speedY = 1.0f
 
float speedZ = 1.0f
 
bool rotateX = false
 
bool rotateY = false
 
bool rotateZ = false
 
Vector3 currentCenterPosition = Vector3.zero
 
bool disableMouseInVR = true
 

Member Function Documentation

◆ centerOnSelection()

void UMol.ManipulationManager.centerOnSelection ( UnityMolSelection  sel,
bool  lerp,
float  distance = -1.0f 
)

◆ centerOnSelectionLerp()

void UMol.ManipulationManager.centerOnSelectionLerp ( UnityMolSelection  sel,
float  distance 
)

◆ centerOnStructure()

void UMol.ManipulationManager.centerOnStructure ( UnityMolStructure  s,
bool  lerp 
)

◆ centerOnStructureLerp()

void UMol.ManipulationManager.centerOnStructureLerp ( UnityMolStructure  s)

◆ emulateLookAtPOV()

void UMol.ManipulationManager.emulateLookAtPOV ( UnityMolSelection  sel,
Vector3  pov,
Vector3  targetPos,
bool  lerp = false 
)

◆ resetPosition()

void UMol.ManipulationManager.resetPosition ( )

◆ resetRotation()

void UMol.ManipulationManager.resetRotation ( )

◆ setRotationCenter()

void UMol.ManipulationManager.setRotationCenter ( Vector3  pos)

◆ setSelectedOject()

void UMol.ManipulationManager.setSelectedOject ( Transform  seleT)

Member Data Documentation

◆ currentCenterPosition

Vector3 UMol.ManipulationManager.currentCenterPosition = Vector3.zero

◆ currentTransform

Transform UMol.ManipulationManager.currentTransform

◆ disableMouseInVR

bool UMol.ManipulationManager.disableMouseInVR = true

◆ moveSpeed

float UMol.ManipulationManager.moveSpeed = 5.0f

◆ rotateX

bool UMol.ManipulationManager.rotateX = false

◆ rotateY

bool UMol.ManipulationManager.rotateY = false

◆ rotateZ

bool UMol.ManipulationManager.rotateZ = false

◆ scrollSpeed

float UMol.ManipulationManager.scrollSpeed = 5.0f

◆ speedX

float UMol.ManipulationManager.speedX = 1.0f

◆ speedY

float UMol.ManipulationManager.speedY = 1.0f

◆ speedZ

float UMol.ManipulationManager.speedZ = 1.0f

The documentation for this class was generated from the following file: