ORK Framework  2.22.0
API Documentation
ORKFramework.MouseCameraSettings Class Reference
Inheritance diagram for ORKFramework.MouseCameraSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void Setup (GameObject camera)
 
void StoreRotation (float rotation, float lastTargetRotation)
 
void GetStoredRotation (ref float rotation, ref float lastTargetRotation)
 
void StoreZoom (float height, float lastTargetHeight)
 
void GetStoredZoom (ref float height, ref float lastTargetHeight)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

string onChild = ""
 
float distance = 10.0f
 
float height = 15.0f
 
float minHeight = 5.0f
 
float maxHeight = 30.0f
 
float heightDamping = 2.0f
 
MouseTouchControl mouseTouch = new MouseTouchControl(false, 1, true, 2, 1, MouseTouch.Move)
 
bool allowRotation = true
 
bool rememberRotation = false
 
float rotation = 0
 
float rotationDamping = 3.0f
 
bool cameraTargetChangeResetRotation = false
 
bool cameraTargetChangeBlockRotation = false
 
float rotationFactor = 1
 
bool allowZoom = true
 
bool rememberZoom = false
 
bool cameraTargetChangeResetZoom = false
 
bool cameraTargetChangeBlockZoom = false
 
float zoomFactor = 1
 
AxisControl zoomAxis = new AxisControl()
 
float zoomKeyChange = 3
 
bool limitChange = true
 

Member Function Documentation

override void ORKFramework.MouseCameraSettings.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.