瀏覽代碼

Added missing toJson method (#10019)

Lewy Blue 8 年之前
父節點
當前提交
3b132ad092
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      docs/api/scenes/FogExp2.html

+ 5 - 3
docs/api/scenes/FogExp2.html

@@ -22,7 +22,7 @@
 		<h2>Properties</h2>
 
 		<h3>[property:String name]</h3>
-		<div>Default is the empty string.</div>
+		<div>Optional name of the object (doesn't need to be unique). Default is an empty string.</div>
 
 		<h3>[property:Color color]</h3>
 		<div>Fog color. Example: If set to black, far away objects will be rendered black.</div>
@@ -32,10 +32,12 @@
 		<div>Default is 0.00025.</div>
 
 		<h2>Methods</h2>
-		
+
 		<h3>[method:FogExp2 clone]()</h3>
-		<div>Returns a copy of this.</div>
+		<div>Returns a new FogExp2 instance with the same parameters as this one.</div>
 
+		<h3>[method:FogExp2 toJSON]()</h3>
+		<div>Return FogExp2 data in JSON format.</div>
 
 		<h2>Source</h2>