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

大约有 1,232 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)

591. laya.d3.component.Animator [ 69%]

...  _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

592. 性能测试-骨骼 [ 68%]

... { 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

593. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 68%]

...口 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

594. 请问特效播放的速率可以自定义吗? [ 68%]

...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

595. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 68%]

...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

596. Sprite3D-Sprite3D克隆 [ 68%]

...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

597. LayaNative2.0 UI移除舞台,再添加必然无法显示 [ 68%]

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

598. 能不能让LayaFlash支持原生的条件编译 [ 68%]

... [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

599. 发布微信后无法触发mouse_up事件 [ 68%]

...布微信后无法触发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

600. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 68%]

...们好方便快速的查找问题。     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