![]() |
ORK Framework
2.27.1
API Documentation
|
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) |
![]() | |
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 |
|
virtual |
Sets the variables of the class using a ORKFramework.DataObject.
data | ORKFramework.DataObject containing the data. |
Reimplemented from ORKFramework.BaseData.