• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 16 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

1. laya.d3.math.BoundSphere [ 100%]

...phere 类用于创建包围球。 Public Properties PropertyDefined By  center : Vector3包围球的中心。BoundSphere  radius : Number包围球的半径。BoundSpherePublic Methods  MethodDefined By  BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere...

来源: Laya2.0_api 发布时间: 20190513

2. laya.d3.math.BoundBox [ 89%]

...gt;, out:BoundBox):void[static] 从顶点生成包围盒。 BoundBox  getCenter(out:Vector3):void 获取中心点。 BoundBox  getCorners(corners:Vector.<Vector3>):void 获取包围盒的8个角顶点。 BoundBox  getExtent(out:Vector3):void 获取范围。 BoundBox  merge(box1:BoundBo...

来源: Laya2.0_api 发布时间: 20190513

3. laya.d3.core.scene.BoundsOctreeNode [ 86%]

...ctreeNode(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode  add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode  getBound():BoundBox 获取包围盒。 BoundsOctreeNode  getCollidingWi...

来源: Laya2.0_api 发布时间: 20190513

4. laya.display.cmd.StrokeTextCmd [ 85%]

...keTextCmd  textAlign : String 文本对齐方式,可选值:"left","center","right"。 StrokeTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 StrokeTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 StrokeTextCmdPublic Method...

来源: Laya2.0_api 发布时间: 20190513

5. laya.display.cmd.FillBorderTextCmd [ 85%]

...erTextCmd  textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillBorderTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillBorderTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillBorderTextCmdP...

来源: Laya2.0_api 发布时间: 20190513

6. laya.display.cmd.FillTextCmd [ 84%]

...llTextCmd  textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillTextCmdPublic Methods  Me...

来源: Laya2.0_api 发布时间: 20190513

7. laya.d3.math.OrientedBoundBox [ 73%]

...BoundBox):Boolean 判断两个包围盒是否相等 OrientedBoundBox  getCenter(center:Vector3):void 该包围盒的几何中心 OrientedBoundBox  getCorners(corners:Vector.<Vector3>):void 获取OBB包围盒的8个顶点。 OrientedBoundBox  getObbtoObbMatrix4x4(a:OrientedBoundBox, b:Ori...

来源: Laya2.0_api 发布时间: 20190513

8. laya.ui.VBox [ 58%]

...。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与...

来源: Laya2.0_api 发布时间: 20190513

9. laya.display.Graphics [ 57%]

...度。  textAlign:String — 文本对齐方式,可选值:"left","center","right"。 ReturnsFillBorderTextCmdfillText()method  public function fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String):FillTextCmd 在画布上绘制文本。 Parameters text:Stri...

来源: Laya2.0_api 发布时间: 20190513

10. laya.display.Stage [ 57%]

...方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage  alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; St...

来源: Laya2.0_api 发布时间: 20190513