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

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

631. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 44%]

...0 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get SourceMap info, dump raw stack: at func_main_0 (entry|entry|1.0.0|src/main/ets/MainAbility/MainAbility.ts:9:47) hdc hilog记录的日志信息:01-06 17:34:41.491 797 1382 I C01...

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

632. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...除了常规的数据属性,有的时候,开发者会通过访问器(Getter 和 Setter)来控制组件属性的读写行为。 当 Getter 和 Setter 同时存在时,装饰器的属性标识@property()直接用于 Getter 之前即可,此时的组件属性与上一小节中介绍的常规...

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

633. laya.display.Animation [ 43%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

来源: laya_api 发布时间: 20170929

634. laya.display.Animation [ 43%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

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

635. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...件的使用 UI组件的创建有三种方式:分别是从小部件(Widgets)面板里拖拽UI组件使用、从层级管理(Hierarchy)面板的右键菜单里创建、通过组件资源命名规则为资源命名,然后拖拽资源使用,直接被IDE识别。 2.1 小部件面板中拖...

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

636. laya.ani.bone.Templet [ 43%]

...Index:int):voidTemplet  destroy():void[override] 释放纹理 Templet  getAniNameByIndex(index:int):String 通过索引得动画名称 Templet  getSkinIndexByName(skinName:String):int 通过皮肤名字得到皮肤索引 Templet  getTexture(name:String):Texture 得到指定的纹理 Templet...

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

637. laya.d3.core.render.command.CommandBuffer_API3.0 [ 42%]

...D blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDataColor setSha...

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

638. 微信小游戏渲染开放域卡顿处理 [ 42%]

...域转纹理,这个没啥好说的,一般都是这么处理的 pfUtils.getShareCanvas = function() {     return new Laya.Texture(sharedCanvas/*window.sharedCanvas*/); }; // 通知开放域数据:我这里采用的是“字符串标志+另外数据”来说明该指令是什么操作以及操...

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

639. laya.display.Node [ 42%]

...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node  getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node  getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node  getChildIndex(node:Node):int 根据子...

来源: laya_api 发布时间: 20170929

640. 请问下为啥我的LayaNative在运行的时候,一直显示Layaair的动画在0%的进度无法跳过呢 [ 42%]

...的   03-10 15:29:52.301 32529-32642/com.gamepark.casino I/LayaBox:  xhr.GET url=http://stand.alone.version/index.html 03-10 15:29:52.312 32529-32642/com.gamepark.casino I/LayaBox: found the file in the package:cache/stand.alone.version/ea224b42 03-10 15:29:52.316 32529-32642/com.gamepark.casino I...

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