ORK Framework  2.25.2
API Documentation
ORKFramework.TopDownBorderCameraSettings Class Reference
Inheritance diagram for ORKFramework.TopDownBorderCameraSettings:
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 inputRotation, float lastTargetRotation)
 
void GetStoredRotation (ref float rotation, ref float inputRotation, ref float lastTargetRotation)
 
void StorePanning (Vector3 inputPanning)
 
void GetStoredPanning (ref Vector3 inputPanning)
 
void StoreZoom (Vector2 inputZoom, float lastTargetDistance)
 
void GetStoredZoom (ref Vector2 inputZoom, ref float lastTargetDistance)
 
- 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 = ""
 
bool initialDamping = true
 
float positionDamping = 0
 
Vector4 positionPadding = new Vector4(0, 0, 0, 0)
 
float distance = 15.0f
 
float height = 15.0f
 
float heightDamping = 2.0f
 
float distanceDamping = 2.0f
 
float rotationDamping = 2.0f
 
float rotation = 0
 
HorizontalPlaneType horizontalPlane = HorizontalPlaneType.XZ
 
UseableIn useRotationIn = UseableIn.None
 
bool rememberRotation = false
 
bool cameraTargetChangeResetRotation = false
 
bool cameraTargetChangeBlockRotation = false
 
float rotationInputChange = 90
 
bool rotateDeltaTime = false
 
AxisControl rotationAxis = new AxisControl()
 
int rotationResetInputKey = 0
 
float rotationFactor = 1
 
MouseTouchControl rotationMouseTouch = new MouseTouchControl(false, 1, false, 2, 1, MouseTouch.Move)
 
UseableIn usePanningIn = UseableIn.None
 
bool rememberPanning = false
 
bool cameraTargetChangeResetPanning = false
 
bool cameraTargetChangeBlockPanning = false
 
float panningSpeed = 10
 
int horizontalPanningKeyID = 0
 
int verticalPanningKeyID = 0
 
int centerPanningKeyID = 0
 
bool limitPanning = true
 
float panningDistanceLimitField = 20
 
float panningDistanceLimitBattle = 20
 
UseableIn useScreenEdgePanningIn = UseableIn.None
 
bool screenEdgePanningUIBlock = false
 
float screenEdgePanningSpeed = 10
 
Vector4 screenEdgeDistance = new Vector4(100, 100, 100, 100)
 
ValueSetter screenEdgeValueSetter = ValueSetter.Value
 
UseableIn useZoomingIn = UseableIn.None
 
bool rememberZoom = false
 
bool cameraTargetChangeResetZoom = false
 
bool cameraTargetChangeBlockZoom = false
 
bool zoomUIBlock = false
 
float zoomHeightInputChange = 3
 
float zoomDistanceInputChange = 3
 
bool zoomDeltaTime = false
 
AxisControl zoomAxis = new AxisControl()
 
int zoomResetInputKey = 0
 
float zoomMinHeightField = 5
 
float zoomMaxHeightField = 15
 
float zoomMinHeightBattle = 5
 
float zoomMaxHeightBattle = 15
 
bool useHeightInput = false
 
float heightInputChange = 3
 
bool heightDeltaTime = false
 
AxisControl heightAxis = new AxisControl()
 
int heightResetInputKey = 0
 
float zoomMinDistanceField = 5
 
float zoomMaxDistanceField = 15
 
float zoomMinDistanceBattle = 5
 
float zoomMaxDistanceBattle = 15
 
bool useDistanceInput = false
 
float distanceInputChange = 3
 
bool distanceDeltaTime = false
 
AxisControl distanceAxis = new AxisControl()
 
int distanceResetInputKey = 0
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.