Pokemon3D Script API Documentation

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

GetterStatic Method (get) fixed
Static

Type: boolUsage: var fixed = Camera.fixed;

GetterStatic Method (get) pitch
Static

Type: numberUsage: var pitch = Camera.pitch;

GetterStatic Method (get) position
Static

Type: Vector3Usage: var position = Camera.position;

GetterStatic Method (get) thirdPerson
Static

Type: boolUsage: var thirdPerson = Camera.thirdPerson;

GetterStatic Method (get) x
Static

Type: numberUsage: var x = Camera.x;

GetterStatic Method (get) y
Static

Type: numberUsage: var y = Camera.y;

GetterStatic Method (get) yaw
Static

Type: numberUsage: var yaw = Camera.yaw;

GetterStatic Method (get) z
Static

Type: numberUsage: var z = Camera.z;

SetterStatic Method (set) fixed
Static

Type: boolUsage: Camera.fixed = fixed;

SetterStatic Method (set) focusId
Static

Type: voidUsage: Camera.focusId = focusId;

SetterStatic Method (set) focusType
Static

Type: voidUsage: Camera.focusType = focusType;

SetterStatic Method (set) pitch
Static

Type: numberUsage: Camera.pitch = pitch;

SetterStatic Method (set) position
Static

Type: Vector3Usage: Camera.position = position;

SetterStatic Method (set) thirdPerson
Static

Type: boolUsage: Camera.thirdPerson = thirdPerson;

SetterStatic Method (set) x
Static

Type: numberUsage: Camera.x = x;

SetterStatic Method (set) y
Static

Type: numberUsage: Camera.y = y;

SetterStatic Method (set) yaw
Static

Type: numberUsage: Camera.yaw = yaw;

SetterStatic Method (set) z
Static

Type: numberUsage: Camera.z = z;

Methods

Static Method resetFocus
Static

Return: voidUsage: Camera.resetFocus();

Static Method setBehindPlayer
Static

Return: numberUsage: var result = Camera.setBehindPlayer();

Static Method setupFocus
Static

Return: voidArguments: string type, int idUsage: Camera.setupFocus(type, id);

Static Method update
Static

Return: voidUsage: Camera.update();

Indexers

-- No Indexers --