Camera Global

From Virtual World Web Wiki
Revision as of 21:06, 12 April 2017 by Spark5 (Talk | contribs) (Documentation for the Camera Global class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • 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)