Camera
API documention for the Prototype Camera.
Source code
Usage
var instance = new Camera(args);
...
instance.method(args);
Index
Constructor
var c = new Camera();
Variables
-- No Variables --
Getters & Setters
(get) fixed
Static
(get) pitch
Static
(get) position
Static
(get) thirdPerson
Static
(get) x
Static
(get) y
Static
(get) yaw
Static
(get) z
Static
(set) fixed
Static
(set) focusId
Static
(set) focusType
Static
(set) pitch
Static
(set) position
Static
(set) thirdPerson
Static
(set) x
Static
(set) y
Static
(set) yaw
Static
(set) z
Static
Static
Type: bool
Usage: var fixed = Camera.fixed;
(get) pitch
Static
Type: number
Usage: var pitch = Camera.pitch;
(get) position
Static
Type: Vector3
Usage: var position = Camera.position;
(get) thirdPerson
Static
Type: bool
Usage: var thirdPerson = Camera.thirdPerson;
(get) x
Static
Type: number
Usage: var x = Camera.x;
(get) y
Static
Type: number
Usage: var y = Camera.y;
(get) yaw
Static
Type: number
Usage: var yaw = Camera.yaw;
(get) z
Static
Type: number
Usage: var z = Camera.z;
(set) fixed
Static
Type: bool
Usage: Camera.fixed = fixed;
(set) focusId
Static
Type: void
Usage: Camera.focusId = focusId;
(set) focusType
Static
Type: void
Usage: Camera.focusType = focusType;
(set) pitch
Static
Type: number
Usage: Camera.pitch = pitch;
(set) position
Static
Type: Vector3
Usage: Camera.position = position;
(set) thirdPerson
Static
Type: bool
Usage: Camera.thirdPerson = thirdPerson;
(set) x
Static
Type: number
Usage: Camera.x = x;
(set) y
Static
Type: number
Usage: Camera.y = y;
(set) yaw
Static
Type: number
Usage: Camera.yaw = yaw;
(set) z
Static
Type: number
Usage: Camera.z = z;
Methods
resetFocus
Static
setBehindPlayer
Static
setupFocus
Static
update
Static
Static
Return: void
Usage: Camera.resetFocus();
setBehindPlayer
Static
Return: number
Usage: var result = Camera.setBehindPlayer();
setupFocus
Static
update
Static
Return: void
Usage: Camera.update();
Indexers
-- No Indexers --