ORK Framework  2.27.1
API Documentation
ORKFramework.LookAtRequirement Class Reference
Inheritance diagram for ORKFramework.LookAtRequirement:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

bool Check (Camera camera, Transform user, Transform target)
bool CheckDistance (Transform user, Transform target)
bool CheckViewport (Camera camera, Transform target)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

bool useMinDistance = false
float minDistance = 1
bool useMaxDistance = false
float maxDistance = 10
bool ignoreHeightDistance = true
BattleCameraDistanceOrigin distanceOrigin = BattleCameraDistanceOrigin.User
bool useViewport = false
float horizontalViewport = 0.25f
float verticalViewport = 0.25f