大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0078 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...合绝大多数开发者的语法习惯,在js原生下是没有private、public、protected等修饰符的,故编译成html5项目后该功能无效! 2016-11-07 0 0 分享 微博 QZONE 微信 laya21126 赞同来自: //================================= 单例实现 ====================== ...
来源: Laya_社区 发布时间: 20161107
...h + this.height, this.height, "#FF7F50"); } // 获取关节另一头位置 public getPinPosition():Point { var radian:number = this.rotation * Math.PI / 180; var tx:number = this.x + Math.cos(radian) * this.width; var ty:number = this.y + Math.sin(radian) * this.width; return new Point(tx, ty); } } ...
来源: Laya_示例 发布时间: 20260106
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/ColorOverLifetime" ColorOverLifetime Class ColorOverLifetime ColorOverLifetime 类用于粒子的生命周期颜...
来源: Laya3.0_api 发布时间: 20231115
...同来自: package { import laya.events.Event; import laya.utils.Browser; public class ShiPei { private var fillWidth:Number=Browser.width; private var fillHeight:Number=Browser.height; public function ShiPei() { //设置初始化 Laya.init(fillWidth,fillHeight); //设置横屏显示 Laya.stage.scre...
来源: Laya_社区 发布时间: 20160718
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/text/TextMesh" TextMesh Class TextMesh TextMesh 类用于创建文本网格。 Hierarchy TextMesh Index Constructors constructor Accessors co...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/SpriteUtils" SpriteUtils Class SpriteUtils Hierarchy SpriteUtils Index Methods fitDOMElementInArea getGlobalPosAndScale getTransformRelati...
来源: Laya3.0_api 发布时间: 20231115
...指定webgl 模式下 setIBVB参数应该如何设置 //重写渲染函数 public //重写渲染函数 public customRender(context:Laya.RenderContext,x:number,y:number):void{ this.shaderValue.iTime += this.animeValue; let webgl2d = context.ctx instanceof Laya.WebGLContext2D if( webgl2d) (context.ctx...
来源: Laya_社区 发布时间: 20180712
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/SizeOverLifetime" SizeOverLifetime Class SizeOverLifetime SizeOverLifetime 类用于粒子的生命周期尺寸...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera...
来源: Laya3.0_api 发布时间: 20231115
... laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; public class LayaAirTest { public function LayaAirTest() { Laya.init(550,400); var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClic...
来源: Laya_社区 发布时间: 20161215