Packagelaya.d3.resource.models
Classpublic class QuadMesh
InheritanceQuadMesh Inheritance laya.d3.resource.models.PrimitiveMesh

QuadMesh 类用于创建四边形。



Public Properties
 PropertyDefined By
  long : Number
返回长度
QuadMesh
  width : Number
返回宽度
QuadMesh
Public Methods
 MethodDefined By
  
QuadMesh(long:Number = 1, width:Number = 1)
创建一个四边形模型
QuadMesh
Protected Methods
 MethodDefined By
  
[override]
QuadMesh
Property Detail
longproperty
long:Number

返回长度


Implementation
    public function get long():Number
    public function set long(value:Number):void
widthproperty 
width:Number

返回宽度


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
QuadMesh()Constructor
public function QuadMesh(long:Number = 1, width:Number = 1)

创建一个四边形模型

Parameters
long:Number (default = 1) — 长
 
width:Number (default = 1) — 宽
Method Detail
recreateResource()method
override protected function recreateResource():void