Package | laya.d3.resource.models |
Class | public class QuadMesh |
Inheritance | QuadMesh laya.d3.resource.models.PrimitiveMesh |
QuadMesh
类用于创建四边形。
Method | Defined By | ||
---|---|---|---|
QuadMesh(long:Number = 1, width:Number = 1)
创建一个四边形模型
| QuadMesh |
Method | Defined By | ||
---|---|---|---|
recreateResource():void [override] | QuadMesh |
long | property |
long:Number
返回长度
public function get long():Number
public function set long(value:Number):void
width | property |
width:Number
返回宽度
public function get width():Number
public function set width(value:Number):void
QuadMesh | () | Constructor |
public function QuadMesh(long:Number = 1, width:Number = 1)
创建一个四边形模型
Parameterslong:Number (default = 1 ) — 长
| |
width:Number (default = 1 ) — 宽
|
recreateResource | () | method |
override protected function recreateResource():void