浏览代码

update spriteCanvasMaterial doc

06wj 6 年之前
父节点
当前提交
3d10eb7792
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      docs/examples/SpriteCanvasMaterial.html

+ 5 - 1
docs/examples/SpriteCanvasMaterial.html

@@ -23,6 +23,7 @@
 		parameters is an object that can be used to set up the default properties
 		parameters is an object that can be used to set up the default properties
 		</p>
 		</p>
 		<p>
 		<p>
+		rotation - the rotation of the sprite<br/>
 		color - the color of the sprite<br/>
 		color - the color of the sprite<br/>
 		program - the program used to draw the sprite
 		program - the program used to draw the sprite
 		</p>
 		</p>
@@ -30,7 +31,10 @@
 
 
 		<h2>Properties</h2>
 		<h2>Properties</h2>
 
 
-
+		<h3>[property:Radians rotation]</h3>
+		<p>
+		The rotation of the sprite in radians. Default is 0.
+		</p>
 
 
 		<h3>[property:Color color]</h3>
 		<h3>[property:Color color]</h3>
 		<p>
 		<p>