Touch Camera Pro
Public Types | Public Member Functions | Public Attributes | List of all members
Exoa.Cameras.CameraBoundaries Class Reference
Inheritance diagram for Exoa.Cameras.CameraBoundaries:

Public Types

enum  Type { Rectangle , Circle }
 
enum  Mode { CameraCenter , CameraEdges }
 

Public Member Functions

Vector3 ClampInBoundsXZ (Vector3 p, out bool isInBoundaries, float groundHeight)
 Clamp any given points inside the defined boundaries More...
 
Vector3 ClampInBoundsXY (Vector3 p, out bool isInBoundaries, float groundHeight)
 Clamp any given points inside the defined boundaries More...
 

Public Attributes

Type type
 
Collider bounderiesCollider
 
SphereCollider sphereCollider
 
BoxCollider boxCollider
 
bool drawGizmos
 
Mode mode
 
float edgeElasticity = .9f
 

Member Function Documentation

◆ ClampInBoundsXY()

Vector3 Exoa.Cameras.CameraBoundaries.ClampInBoundsXY ( Vector3  p,
out bool  isInBoundaries,
float  groundHeight 
)
inline

Clamp any given points inside the defined boundaries

Parameters
p
isInBoundaries
groundHeight
Returns

◆ ClampInBoundsXZ()

Vector3 Exoa.Cameras.CameraBoundaries.ClampInBoundsXZ ( Vector3  p,
out bool  isInBoundaries,
float  groundHeight 
)
inline

Clamp any given points inside the defined boundaries

Parameters
p
isInBoundaries
groundHeight
Returns

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