Skip to content

Commit 9ec300d

Browse files
committed
Updated JSDocs
1 parent 820ea77 commit 9ec300d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/gameobjects/layer3d/Layer3DCamera.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ var Layer3DCamera = new Class({
8585
this.aspectRatio = 1;
8686

8787
/**
88-
* The position of the camera.
88+
* The position of the camera in 3D space.
89+
*
90+
* You can modify this vector directly, or use the `x`, `y` and `z`
91+
* properties of this class.
8992
*
9093
* @name Phaser.GameObjects.Layer3DCamera#position
9194
* @type {Phaser.Math.Vector3}
@@ -94,7 +97,10 @@ var Layer3DCamera = new Class({
9497
this.position = new Vector3(x, y, z);
9598

9699
/**
97-
* The rotation of the camera.
100+
* The rotation of the camera in 3D space.
101+
*
102+
* You can modify this vector directly, or use the `rotationX`, `rotationY`
103+
* and `rotationZ` properties of this class.
98104
*
99105
* @name Phaser.GameObjects.Layer3DCamera#rotation
100106
* @type {Phaser.Math.Vector3}

0 commit comments

Comments
 (0)