Touch Camera Pro
Public Member Functions | Properties | List of all members
Exoa.Cameras.ITouchOrthoCamera Interface Reference
Inheritance diagram for Exoa.Cameras.ITouchOrthoCamera:
Exoa.Cameras.ITouchCamera Exoa.Cameras.CameraIsometricOrtho Exoa.Cameras.CameraOrthoBase Exoa.Cameras.CameraSideScrollOrtho Exoa.Cameras.CameraTopDownOrtho Exoa.Cameras.CameraIsometricOrtho Exoa.Cameras.CameraSideScrollOrtho Exoa.Cameras.CameraTopDownOrtho

Public Member Functions

void SetSizeByDistance (float d)
 Converts a distance to a camera orthographic size More...
 
float GetDistanceFromSize ()
 Converts the orthographic size to a distance to pass to a perspective camera More...
 
void SetPositionByOffset ()
 Converts a camera offset on ground to a camera position More...
 
- Public Member Functions inherited from Exoa.Cameras.ITouchCamera
Matrix4x4 GetMatrix ()
 Return the matrix of the camera transform, in order to blend it when switching modes More...
 
void SetGroundHeightAnimated (float newHeight, bool animate, float duration)
 This let you change the ground height at any moment in order to change at which y position the fingers will be intercepted. This version lets you animate it More...
 
void SetGroundHeight (float y)
 This let you change the ground height at any moment in order to change at which y position the fingers will be intercepted More...
 
void RotateFromVector (Vector2 delta)
 Rotate the camera manually More...
 
void ResetCamera ()
 Reset the camera to initial values More...
 
void SetResetValues (Vector3 offset, Quaternion rotation, float distanceOrSize)
 Set the initial values for the reset function More...
 
void MoveCameraToInstant (Vector3 targetPosition)
 Moves the Camera offset position on ground to a new position, in 1 frame More...
 
void MoveCameraToInstant (Vector3 targetPosition, float targetDistance)
 Moves the Camera offset position on ground and distance from it, in 1 frame More...
 
void MoveCameraToInstant (Vector3 targetPosition, Quaternion targetRotation)
 Moves the Camera offset position on ground and rotation, in 1 frame More...
 
void MoveCameraToInstant (Vector3 targetPosition, Vector2 targetRotation)
 Moves the Camera offset position on ground and rotation, in 1 frame More...
 
void MoveCameraToInstant (Vector3 targetPosition, float targetDistance, Vector2 targetRotation)
 Moves the Camera offset position on ground, distance from it and rotation, in 1 frame More...
 
void MoveCameraToInstant (Vector3 targetPosition, float targetDistance, Quaternion targetRotation)
 Moves the Camera offset position on ground, distance from it and rotation, in 1 frame More...
 
void MoveCameraTo (Vector3 targetPosition)
 Moves the Camera offset position on ground, animated More...
 
void MoveCameraTo (Vector3 targetPosition, float targetDistance)
 Moves the Camera offset position on ground, distance from it, animated More...
 
void MoveCameraTo (Vector3 targetPosition, Quaternion targetRotation)
 Moves the Camera offset position on ground, and rotation, animated More...
 
void MoveCameraTo (Vector3 targetPosition, Vector2 targetRotation)
 Moves the Camera offset position on ground, and rotation, animated More...
 
void MoveCameraTo (Vector3 targetPosition, float targetDistance, Vector2 targetRotation)
 Moves the Camera offset position on ground, distance from it and rotation, animated More...
 
void MoveCameraTo (Vector3 targetPosition, float targetDistance, Quaternion targetRotation)
 Moves the Camera offset position on ground, distance from it and rotation, animated More...
 
void FocusCamera (Vector3 targetPosition, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCamera (Vector3 targetPosition, float targetDistance, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCamera (Vector3 targetPosition, Quaternion targetRotation, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCamera (Vector3 targetPosition, Vector2 targetRotation, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCamera (Vector3 targetPosition, float targetDistance, Vector2 targetRotation, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCamera (Vector3 targetPosition, float targetDistance, Quaternion targetRotation, bool instant=false)
 Alias of MoveCameraTo More...
 
void FocusCameraOnGameObject (GameObject go, bool allowYOffsetFromGround=false)
 Focus the camera on a GameObject (distance animation) More...
 
void FollowGameObject (GameObject go, bool doFocus, bool allowYOffsetFromGround=false)
 Follow a game object More...
 
void StopFollow ()
 Stop follow/focus/moveto animations More...
 

Properties

float FinalSize [get]
 Get the camera orthographic's size More...
 
- Properties inherited from Exoa.Cameras.ITouchCamera
bool DisableMoves [get, set]
 This blocks the user input moves, in order to animate the camera by script More...
 
Quaternion FinalRotation [get]
 The final quaternion rotation of the camera transform More...
 
Vector3 FinalPosition [get]
 The final position of the camera transform More...
 
Vector3 FinalOffset [get]
 The final offset of the camera's center point on ground This is not the camera position. The center of the camera is projected on the ground, and this is it's position. More...
 
float FinalDistance [get]
 This is the final distance between the camera's center point on the ground, and the camera transform's position More...
 
Vector2 PitchAndYaw [get]
 This returns the current Pitch and Yaw rotations of the camera More...
 

Member Function Documentation

◆ GetDistanceFromSize()

float Exoa.Cameras.ITouchOrthoCamera.GetDistanceFromSize ( )

Converts the orthographic size to a distance to pass to a perspective camera

Returns

Implemented in Exoa.Cameras.CameraOrthoBase.

◆ SetPositionByOffset()

void Exoa.Cameras.ITouchOrthoCamera.SetPositionByOffset ( )

Converts a camera offset on ground to a camera position

Implemented in Exoa.Cameras.CameraOrthoBase, Exoa.Cameras.CameraSideScrollOrtho, and Exoa.Cameras.CameraTopDownOrtho.

◆ SetSizeByDistance()

void Exoa.Cameras.ITouchOrthoCamera.SetSizeByDistance ( float  d)

Converts a distance to a camera orthographic size

Parameters
d

Implemented in Exoa.Cameras.CameraOrthoBase.

Property Documentation

◆ FinalSize

float Exoa.Cameras.ITouchOrthoCamera.FinalSize
get

Get the camera orthographic's size

Implemented in Exoa.Cameras.CameraOrthoBase.


The documentation for this interface was generated from the following file:
Copyright Exoa