Photon Server API
Public Member Functions | Properties | List of all members
Photon.MmoDemo.Client.InterestArea Class Reference

Public Member Functions

 InterestArea (byte cameraId, Game game, MyItem avatar)
 
 InterestArea (byte cameraId, Game game, Vector position)
 
void AttachItem (MyItem item)
 
void Create ()
 
void Detach ()
 
void Move (Vector newPosition)
 
void Remove ()
 
void ResetViewDistance ()
 
void SetViewDistance (Vector viewDistance)
 

Properties

MyItem AttachedItem [get]
 
Game Game [get]
 
byte Id [get]
 
Vector Position [get]
 
Vector ViewDistanceEnter [get]
 
Vector ViewDistanceExit [get]
 

Constructor & Destructor Documentation

Photon.MmoDemo.Client.InterestArea.InterestArea ( byte  cameraId,
Game  game,
MyItem  avatar 
)
inline
Photon.MmoDemo.Client.InterestArea.InterestArea ( byte  cameraId,
Game  game,
Vector  position 
)
inline

Member Function Documentation

void Photon.MmoDemo.Client.InterestArea.AttachItem ( MyItem  item)
inline
void Photon.MmoDemo.Client.InterestArea.Create ( )
inline
void Photon.MmoDemo.Client.InterestArea.Detach ( )
inline
void Photon.MmoDemo.Client.InterestArea.Move ( Vector  newPosition)
inline
void Photon.MmoDemo.Client.InterestArea.Remove ( )
inline
void Photon.MmoDemo.Client.InterestArea.ResetViewDistance ( )
inline
void Photon.MmoDemo.Client.InterestArea.SetViewDistance ( Vector  viewDistance)
inline

Property Documentation

MyItem Photon.MmoDemo.Client.InterestArea.AttachedItem
get
Game Photon.MmoDemo.Client.InterestArea.Game
get
byte Photon.MmoDemo.Client.InterestArea.Id
get
Vector Photon.MmoDemo.Client.InterestArea.Position
get
Vector Photon.MmoDemo.Client.InterestArea.ViewDistanceEnter
get
Vector Photon.MmoDemo.Client.InterestArea.ViewDistanceExit
get