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

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

1011. drawTexture 画出来的数据会有以前的数据 [ 50%]

...conSpr = new Sprite(); iconSpr.width = 1280; iconSpr.height = 640; iconSpr.addChild(img); btn.on(Event.CLICK,this,runGame1); } private function runGame1():void { xNum = Math.random()*7 - 3; yNum = Math.random()*7 - 3; Laya.timer.loop(20,this,onRun); Laya.timer.frameLoop(10,this,refresh); } private f...

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

1012. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 50%]

...影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveM...

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

1013. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 50%]

...a.stage.bgColor = "#232628"; this.sp_video = new Laya.Sprite(); Laya.stage.addChild(this.sp_video);//添加到舞台 this.sp_video.pos(10,100); Laya.timer.loop(150, this, showframe); })(); function showframe() { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,com...

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

1014. laya.d3.core.BaseCamera_API3.0 [ 49%]

...nderer timer transform url Methods _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent...

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

1015. laya.d3.core.light.SpotLight_API3.0 [ 49%]

...wStrength spotAngle timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

1016. laya.map.TileAniSprite [ 49%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  clearAll():void 清理 TileAniS...

来源: laya_api 发布时间: 20170929

1017. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } this.owner.addChild(label); return label; } } 效果预览: (图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}

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

1018. laya.d3.core.scene.Scene [ 49%]

...Methods MethodDefined By  Scene() 创建一个 Scene 实例。 Scene  addChild(node:Node):Node[override] 添加子节点。 Scene  addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Scene addChildren(... args):void 批量增加子节点 Node  addFrus...

来源: laya_api 发布时间: 20170929

1019. laya可以转换flash补间动画成h5动画吗? [ 49%]

...s LoaderInfo; var mc:MovieClip=loaderInfo.content as MovieClip; mc.play(); addChild(mc); }  3D补间目前还支持!!! 2.如果可以转的话,可以把补间动画导出成视频或者gif图片之类的,laya可以像flash一样,控制视频播放吗?那这样子的视频也可...

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

1020. [0]Laya3.0.3 的VideoNode支持在微信浏览器中播放 [ 49%]

...e = new Laya.Image(); image.texture = new Laya.Texture(videoTexTure); this.addChild(image); image.pos(100,100); }); 2024-03-04 1 1 分享 微博 QZONE 微信 phhh 赞同来自: 2d播放视频要事件触发 2023-08-25 0 1 分享 微博 QZONE 微信 木易楊 赞同来自: 尝试过是否是微信限...

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