大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...
来源: laya_api 发布时间: 20170929
...这样的,先贴一下SkinMesh里相关方法: public function render(context:*, x:Number, y:Number):void { if (Render.isWebGL && mTexture) { context._renderKey = 0; context._shader2D....
来源: Laya_社区 发布时间: 20190628
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Parameters method: Function 要...
来源: Laya3.0_api 发布时间: 20231115
....num("1"); LayaSample.bb = new Child(); LayaSample.bb.num("2"); setTimeout(function () { LayaSample.aa.shuchu();//输出这个组件num,结果为2,是LayaSample.bb的num }, 1000);已经排除了定时器的原因 2018-07-29 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180729
...更换声音文件失败 在wxmini中关于声音的管理 __proto.load = function (url) { url = URL.formatURL(url); this.url = url; this.readyUrl = url; if (MiniSound._audioCache[this.readyUrl]) { ...
来源: Laya_社区 发布时间: 20180503
...utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资源,加载成功后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this...
来源: Laya2.0_文档 发布时间: 20210715
...A5]$"); private static var fontMap:Array = ; public static var measureText:Function = function(txt:String, font:String):* { var isChinese:Boolean = hanzi.test(txt); if (isChinese && fontMap[font]) { return fontMap[font]; } var ctx:* = Browser.context; ctx.font = font; var r:* = ctx.measureTe...
来源: Laya_社区 发布时间: 20190610
...Scene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显...
来源: Laya2.0_文档 发布时间: 20210715