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

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

51. swf转成H5资源显示超出原有范围 [ 67%]

...setWindowFullSize() : void         {             var stageW:int = 0;             var stageH:int = 0;             __JS__( 'stageW = Laya.window.innerWidth;' );             __JS__( 'stageH = Laya.window.innerHeight;' );             (stageW > 0) &am...

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

52. 发现TimeLine的一些问题,像是BUG [ 66%]

...到200的位置 } //创建方块的函数 private function createSprite(xx:int,yy:int):Sprite { var sp:Sprite=new Sprite(); sp.graphics.drawRect(0, 0, 50, 50, "#ffffff"); sp.x=xx; sp.y=yy; Laya.stage.addChild(sp); return sp; } //添加缓动的函数 private function addTime(timeLine:TimeLine,sp:Spr...

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

53. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 66%]

...that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the...

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

54. Tween回调方法里如何带参数? [ 66%]

...分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: for (var i:int = 1; i <= 2;i++ ){ var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); Tween.to(sp,{x:300,y:300,alpha:0.5},1000,null,Handler.create(this,function():void {     sp.dest...

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

55. Tween 缓动过程有触发回调函数么 [ 65%]

...een对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween", Tween)._create(target, props, duration, ease, complete, d...

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

56. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 65%]

...dioContext || Browser.window.webkitAudioContext)(); // Stereo var channels:int = 2; // Create an empty two-second stereo buffer at the // sample rate of the AudioContext var frameCount:int = audioCtx.sampleRate * 2.0; var myArrayBuffer:Object = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRat...

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

57. hBox使用问题 [ 65%]

...te(this, onAssetLoaded)) private function onAssetLoaded():void { for(var i:int=0;i<picAy.length;i++) { var texture:Texture= Loader.getRes(picAy); var ape:Sprite = new Sprite; //ape.x=i*(stageWidth/4) //Tween.to(ape, { x : i*(stageWidth/4) },1500,Ease.sineOut); var bl:Number=texture.width/texture....

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

58. [LayaAir3]LayaNative ios使用TTF字体启动奔溃 [ 65%]

... 0x1c1b38f5c               ; std::__1::function<void (unsigned int, bool*)>::operator()(unsigned int, bool*) const 附件 : --> shell.zip 2024-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Re...

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

59. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 64%]

...和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式...

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

60. 编译前(AS)和编译后(JavaScript)程序的行为是不一致的,求最佳实践和原理。 [ 63%]

...new A().method; func(); } } } package { public class A { private var _attr:int = 123; public function A() { } public function method():void { trace(_attr); } } } 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...

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