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

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

591. 【分享】圆形进度条上图片跟随进度并旋转角度 [ 69%]

...l, false));      /** * 加载资源进度 * @param percent 百分比 */ private onLoading(percent: number): void { this.view.box_mark.graphics.drawPie(216, 216, 216, -90, (-90 + Math.floor(percent * 360)), "#ff0000"); //画进度 let point: { x: number, y: number, hudu: number } = this.cal(216, 2...

来源: Laya_社区 发布时间: 20190629

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

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

...口 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. 性能测试-骨骼 [ 69%]

... { 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_示例 发布时间: 20260303

595. 请问特效播放的速率可以自定义吗? [ 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

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

597. [LayaAir3]Laya3.3.5 2D相机drawToRenderTexture2D不生效问题 [ 68%]

...cript {     @property({type: Laya.Sprite,caption:"测试组件1"})     private testSprite: Laya.Sprite;     @property({type: Laya.Sprite,caption:"测试组件2"})     private testSprite2: Laya.Sprite;     onStart() {         console.log("Game start");         let render1 = new Laya...

来源: Laya_社区 发布时间: 20251229

598. 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_示例 发布时间: 20260303

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

600. 能不能让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