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

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

291. laya.resource.NativeRenderTexture2D_API3.0 [ 53%]

... Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:24 当前内存,以字节为单位。 Returns number Static currentActive get currentActive(): NativeRenderTexture2D Defined in laya/resource/NativeRenderTexture2D.ts:30 获取当前激活的Rendertexture Returns NativeRenderT...

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

292. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 53%]

...就会导致位图剪辑后的显示错误。 最后再说一下空格,当前的FontClip组件是面向单行的整句文本,是不支持空格的,如果在Value值里加一个空格,我们可以从上图中看出,空出一个完整的文本位置。其实不止是空格,所有sheet值...

来源: Laya2.0_文档 发布时间: 20210715

293. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 53%]

...ya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 2. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```javascript Laya.timer.frameLoop(1, this, animateFrameRateBased); Laya.stage.on("click", this, dispose); private function dispose():void  ...

来源: Laya2.0_文档 发布时间: 20210715

294. laya.ui.Panel_API3.0 [ 53%]

...: boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node 节点对象 。 Returns boolean 一个布尔值表示是否包含指定的 Node 节点对象 。 customRender customRender(context:...

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

295. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 53%]

...ya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```javascript Laya.timer.frameLoop(1, this, animateFrameRateBased); Laya.stage.on("click", this, dispose); function dispose() { Laya.timer.clear(t...

来源: Laya2.0_文档 发布时间: 20210715

296. laya.d3.core.Camera [ 53%]

...cloneTo(destObject:*):void 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  convertScreenCoordToOrthographicCoord(source:Vector3, out:Vector3):Boolean 转换2D屏幕坐标系统到3D正交投影下的坐标系统,注:只有正交模型...

来源: laya_api 发布时间: 20170929

297. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 53%]

...,触发方法: private onSelect(index:number):void { console.log("当前选择的索引:" + index); //this.theItem = new DlgNote2(); //this.theItem.popup(); Laya.Scene.open("note2Dlg.scene"); } ——就是这里:我希望打开b的时候,a是在b的后面遮罩中存...

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

298. [LayaAir3]3.2spine动画和3.0.8效果不一样 [ 52%]

...后的回调时间 动画混合无效(版本2.6) Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? spine在微信小游戏中切换动画无法显示 H5动画和节奏的一个加速! 这样写的代码,Tween动画里面只有alpha有效果,scalex和scal...

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

299. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 52%]

...ce Defined in laya/d3/physics/constraints/ConstraintComponent.ts:296 获得当前力 Parameters out: Vector3 Returns void getcurrentTorque getcurrentTorque(out: Vector3): void Inherited from ConstraintComponent.getcurrentTorque Defined in laya/d3/physics/constraints/ConstraintComponent.ts:318 获得...

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

300. Spine动画使用(TypeScript-LayaAir基础篇(TS)-动画基础) [ 52%]

...Spine后面的括号内是支持转换的spine版本号,如图5所示,当前支持将Spine 3.4.0.2和3.6.16版本以及两个版本之间的Spine骨骼动画转换为LayaAir引擎支持的格式。 ![图5](img\5.png) (图5) #### 2.2 生成.sk后缀的骨骼动画文件 打开`Spine格式转换`...

来源: Laya2.0_文档 发布时间: 20210715