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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void SetToggleStartState ()
 
void SetLatestDamage (Transform user, Transform target)
 
void SetLatestUser (Transform user, Transform target)
 
void SetSelectingUser (Transform user, Transform target)
 
void SetMenuUser (Transform user, Transform target)
 
void SetSelection (Transform user, Transform target)
 
void BlockedByAnimation (bool block)
 
void Tick ()
 
void StartBattle (BattleComponent battleComponent)
 
void EndBattle ()
 
- 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

BattleCameraType type = BattleCameraType.None
 
ToggleKeySetting toggleKey = new ToggleKeySetting()
 
bool toggleClearLookTargets = false
 
bool useCombatantCenter = false
 
bool rememberPosition = false
 
float lookAtDamping = 5.0f
 
Vector3 rotationAxis = Vector3.zero
 
float rotationSpeed = 0
 
bool limitRotation = false
 
Vector3 minRotation = Vector3.zero
 
Vector3 maxRotation = Vector3.zero
 
bool cameraControlTarget = false
 
bool cameraControlTargetSelectingPlayer = true
 
bool cameraControlTargetArena = true
 
bool ownControlTargetTransition = false
 
CameraControlTargetTransition controlTargetTransition
 
LookAtSettings latestDamage = new LookAtSettings()
 
LookAtActionBlock latestDamageActionBlock = new LookAtActionBlock()
 
LookAtSettings latestUser = new LookAtSettings()
 
LookAtActionBlock latestUserActionBlock = new LookAtActionBlock()
 
LookAtSettings selectingUser = new LookAtSettings()
 
LookAtSettings menuUser = new LookAtSettings()
 
LookAtSettings selection = new LookAtSettings()
 

Properties

bool IsNone [get]
 
bool IsBlockEvents [get]
 
bool IsAllowEvents [get]
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.