Camera Global
From Virtual World Web Wiki
- This is a JavaScript global object named Camera
Remarks [edit]
Properties
- JSCamera Camera {get;}
- ECameraType CameraType {get; set;}
Events
- OnCameraChanged()
Methods
- JSCameraAnimation CreateAnimation(string name)
- void FocusOnObject(int id)
- string GetCameraType()
- float[] PointToRay(float x, float y)
- Using the screen coordinates passed in, determine a ray into the world from that point
- void SetCameraType(string cameraType)