大约有 1,232 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(702) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(75) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
... _updateAvatarNodes(avatarAnimationDatas:Vector.<Matrix4x4>):void private Animator _updateAvatarNodesCache(avatarAnimationDatas:Vector.<Matrix4x4>):void private Animator addClip(clip:AnimationClip, playName:String = null, startFrame:int = 0, endFrame:int = 4294967295):void 添...
来源: laya_api 发布时间: 20170929
... { mActionIndex = 0; } for (let i = 0, n = mAnimationArray.length; i = []; private mFactory: Templet; constructor() { this.mSpacingX = Browser.width / this.colCount; this.mSpacingY = Browser.height / this.rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); this.mTexturePath = "re...
来源: Laya2.0_示例 发布时间: 20251209
...口 class ComponentDemo{ /**包含tab与viewStack组件的测试页面**/ private comp:ui.ComponentDemoUI; constructor() { Laya.init(1334,750, Laya.WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/...
来源: Laya2.0_文档 发布时间: 20210715
...shadeY.part",Handler.create(this,onParticleLoaded),null,Loader.JSON); private function onParticleLoaded(settings:ParticleSetting):void { settings.minStartSize = 200; settings.minEndSize = 200; settings.maxStartSize = 200; settings.maxEndSize = 200; par = new Particle2D(settings); //par.emitter....
来源: Laya_社区 发布时间: 20180409
...a.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) } private onComplete(){ this.map = new Laya.TiledMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage.height), new Laya.Handler(this, this.onMap)) } private onMap(){ var idx = this.map.g...
来源: Laya_社区 发布时间: 20190218
...onkey, null, false, new Laya.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.scene = new Laya.Scene(); Laya.stage.addChild(this.scene);...
来源: Laya_示例 发布时间: 20251209
LayaNative2.0 UI移除舞台,再添加必然无法显示 private function CreateCon():void { _con1 = new Sprite(); _con2 = new Sprite(); _con3 = new Sprite(); _con4 = new Sprite(); Laya.stage.addChild(_con1); Laya.stage.addChild(_con2); Laya.stage.addChild(_con3); Laya.stage.addChild(_con4); _...
来源: Laya_社区 发布时间: 20181025
... [Embed(source="ui_cn.swf", mimeType="application/octet-stream")] private const _Ui_SWF:Class; } CONFIG::en{ [Embed(source="ui_en.swf", mimeType="application/octet-stream")] private const _Ui_SWF:Class; } 3.这样就表示英文版本我只嵌入英文的ui_en.swf 如果使...
来源: Laya_社区 发布时间: 20160323
...布微信后无法触发mouse_up事件 /** 初始化资源加载完成 */ private initF():void{ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler); } private mouseHa...
来源: Laya_社区 发布时间: 20181102
...们好方便快速的查找问题。 public class Animation_Altas { private const AniConfPath:String = "res/fighter/fighter.json"; private var fly:Animation; public function Animation_Altas() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...
来源: Laya_社区 发布时间: 20160610