大约有 160 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...stener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示帧率 //[IF-JS]value = 100; } } } 代码中使用LayaFlash的宏编译...
来源: Laya_社区 发布时间: 20151218
...ted: boolean = false Defined in laya/physics/joint/MotorJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/MotorJoint.ts:14 [首次设置有效]关节的连接刚体 owner owner: Node Inherited from Compo...
来源: Laya3.0_api 发布时间: 20231115
...有效。 本篇将完整的介绍 IDE 中引擎统计信息的每一个可设置参数的作用。 1. 统计信息的显示开启/关闭 1.1 统计面板的开启与关闭 统计信息面板通常用于 IDE 开发与调试阶段。通常,开发者只需在 IDE 面板中勾选 “显示统计信...
来源: Laya3.0_文档 发布时间: 20260128
... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...
来源: Laya_社区 发布时间: 20170525
...chor: any[] = [0, 0] Defined in laya/physics/joint/WheelJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/physics/joint/WheelJoint.ts:22 [首次设置有效]一个向量值,描述运动方向,比如1,0...
来源: Laya3.0_api 发布时间: 20231115
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
... this._doll_area.w = doll_area.w; this._doll_area.h = doll_area.h; } // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w ); this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h; this.graphics.drawRect( 0, 0, this.width,...
来源: Laya_社区 发布时间: 20180515
... 提交 9 个回复 cuixueying 赞同来自: Richer 1.简单的Html属性设置:Bold、Font、FontSize、Color、下划线 【注意,不支持斜体、描边、span标签内嵌的方式】 示例如下: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bol...
来源: Laya_社区 发布时间: 20161027
...string, value: boolean): void Defined in laya/components/Animator2D.ts:768 设置参数Bool值 Parameters name: string 名字 value: boolean 值 Returns void setParamsNumber setParamsNumber(name: string, value: number): void Defined in laya/components/Animator2D.ts:759 设置参数Number值 Paramete...
来源: Laya3.0_api 发布时间: 20231115