From 0a902b3e6abd5ddc056bd455928204334f2bcd16 Mon Sep 17 00:00:00 2001 From: looeee Date: Fri, 4 Nov 2016 18:08:51 +0000 Subject: [PATCH] added missing toJSON method --- docs/api/scenes/Fog.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/api/scenes/Fog.html b/docs/api/scenes/Fog.html index 7d0bdc3ac1cd58..ed7cb4dd4873bf 100644 --- a/docs/api/scenes/Fog.html +++ b/docs/api/scenes/Fog.html @@ -14,7 +14,7 @@

[name]

Constructor

- +

[name]( [page:Integer hex], [page:Float near], [page:Float far] )

The hex parameter is passed to the [page:Color] constructor to set the color property. Hex can be a hexadecimal integer or a CSS-style string.
@@ -22,7 +22,7 @@

[name]( [page:Integer hex], [page:Float near], [page:Float far] )

Properties

[property:String name]

-
Default is the empty string.
+
Optional name of the object (doesn't need to be unique). Default is an empty string.

[property:Color color]

Fog color. Example: If set to black, far away objects will be rendered black.
@@ -30,15 +30,18 @@

[property:Color color]

[property:Float near]

The minimum distance to start applying fog. Objects that are less than 'near' units from the active camera won't be affected by fog.
Default is 1.
- +

[property:Float far]

The maximum distance at which fog stops being calculated and applied. Objects that are more than 'far' units away from the active camera won't be affected by fog.
Default is 1000.
- +

Methods

[method:Fog clone]()

-
Returns a copy of this.
+
Returns a new fog instance with the same parameters as this one.
+ +

[method:Fog toJSON]()

+
Return fog data in JSON format.

Source