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

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

1761. 调用 Laya.Pool.getItemByCreateFun 报错 [ 56%]

...e:rolePrefabs, tips:"英雄角色", type:Vector, xCount:1, sType:Prefab}*/ public rolePrefabs: Laya.Prefab[]; //TODO 报错 let role2 = Laya.Pool.getItemByCreateFun("role", this.rolePrefabs[0].create, this.rolePrefabs[0]); 附件 : --> BugReappear_Prefab.rar 2019-03-04 添加评论 免费帖 --> 分...

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

1762. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//滚动条皮肤 this.hscr...

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

1763. 垂直滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//滚动条皮肤 this.vscr...

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

1764. 关于坐标转换 [ 56%]

... * @return 转换后的坐标的点。          */         public function localToGlobal(point:Point, createNewPoint:Boolean = false):Point{ }   2018-01-10 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你是指什么的坐标转换呢,3d转2d 在3d示例的,摄像机...

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

1765. laya.d3.renderobjs.nativeobj.NativeUniformBufferObject_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeUniformBufferObject" NativeUniformBufferObject Class NativeUniformBufferObject Hierarchy UniformBufferObject Nativ...

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

1766. DOM元素-表单输入 [ 56%]

...port laya.utils.StringKey; import laya.utils.Utils; /** * ... * @author */ public class DOM_Form { private var form:Sprite; private var rowHeight:int = 30; private var rowSpacing:int = 10; public function DOM_Form() { Laya.init(600, 400); Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = S...

来源: Laya_示例 发布时间: 20260106

1767. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/bvh/BVHSpatialBox" BVHSpatialBox Class BVHSpatialBox<T> BVH子空间 Type parameters T Hierarchy BVHSpatialBox BVHRenderBox ...

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

1768. laya.net.HttpRequest_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/HttpRequest" HttpRequest Class HttpRequest HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,...

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

1769. Tween下的动画速度如何改变? [ 56%]

Tween下的动画速度如何改变? //转盘!! public function rotateFunc(awards,angle,text):void{ isRotated = true; // Laya.timer.frameLoop(1,this,bian,[angle,text]); //缓动动画 Tween.to(pan,{ rotation: -(720+angle) },5000,Ease.bounceOut(0,0,0,5000),Handler.create(this,function():void{ ...

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

1770. 获取不到父物体 节点 [ 56%]

...export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.parent); console.log(this.name); } }这个同样是nu...

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