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

大约有 32 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)

1. laya.d3.math.BoundSphere_API3.0 [ 100%]

...y BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessors center radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number):...

来源: Laya3.0_api 发布时间: 20231115

2. laya.d3.component.physics.SphereCollider [ 79%]

...boundSphere : BoundSphere[read-only] 获取包围球。 SphereCollider  center : Vector3 获取中心点。 SphereCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component...

来源: laya_api 发布时间: 20170929

3. laya.d3.core.scene.OctreeNode [ 77%]

...on:Vector3, projectionView:Matrix4x4):voidOctreeNode  inChildIndex(objectCenter:Vector3):intOctreeNode  init(center:Vector3, treeSize:Vector3):voidOctreeNode  removeObject(object:BaseRender):BooleanOctreeNode  renderBoudingBox(linePhasor:PhasorSpriter3D):voidOctreeNode  updateObject(render...

来源: laya_api 发布时间: 20170929

4. laya.d3.core.scene.QuadtreeNode [ 77%]

...:Vector3, projectionView:Matrix4x4):voidQuadtreeNode  inChildIndex(objectCenter:Vector3):intQuadtreeNode  init(center:Vector3, treeSize:Vector3):voidQuadtreeNode  removeObject(object:RenderObject):BooleanQuadtreeNode  renderBoudingBox(linePhasor:PhasorSpriter3D):voidQuadtreeNode  updateObj...

来源: laya_api 发布时间: 20170304

5. laya.d3.component.physics.BoxCollider [ 71%]

...oundBox : OrientedBoundBox[read-only] 获取包围盒子。 BoxCollider  center : Vector3 中心点 BoxCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingl...

来源: laya_api 发布时间: 20170929

6. playSound和playMusic结束时候有异常抛出 [ 69%]

...howall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);         Laya.loader.load("res/music/Music_start.mp3",              ...

来源: Laya_社区 发布时间: 20170105

7. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 65%]

... = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLo...

来源: Laya_社区 发布时间: 20171213

8. 字体切片组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 58%]

...式 align 水平对齐方式,共有三种方式。left:居左对齐,center:居中对齐,right:居右对齐。 切片字符表 sheet 位图内容范围,位图内容在有换行时需要在换行的位置添加空格。 切片显示内容 value 位图数字内容。 资源分组 group ...

来源: Laya3.0_文档 发布时间: 20251010

9. laya.resource.NativeContext_API3.0 [ 55%]

..._REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _targets asBitmap fillStyle globalAlpha globalCompositeOperation isMain Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPo...

来源: Laya3.0_api 发布时间: 20231102

10. laya.ui.AutoBitmap_API3.0 [ 52%]

..."#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, tex...

来源: Laya3.0_api 发布时间: 20231115