Touch Camera Pro
Public Member Functions | Properties | List of all members
Exoa.Cameras.ITouchPerspCamera Interface Reference
Inheritance diagram for Exoa.Cameras.ITouchPerspCamera:
Exoa.Cameras.ITouchCamera Exoa.Cameras.CameraFree Exoa.Cameras.CameraPerspBase Exoa.Cameras.CameraPerspective Exoa.Cameras.CameraPerspective Exoa.Cameras.CameraFree Exoa.Cameras.CameraFree

Public Member Functions

void SetPositionByDistance (float distance)
 Converts a distance 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 Fov [get]
 Get the Field of view of the camera 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

◆ SetPositionByDistance()

void Exoa.Cameras.ITouchPerspCamera.SetPositionByDistance ( float  distance)

Converts a distance to a camera position

Parameters
distance

Implemented in Exoa.Cameras.CameraPerspBase.

Property Documentation

◆ Fov

float Exoa.Cameras.ITouchPerspCamera.Fov
get

Get the Field of view of the camera

Implemented in Exoa.Cameras.CameraPerspBase.


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