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

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

41. laya.d3.core.scene.Scene [ 81%]

...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

来源: laya_api 发布时间: 20170929

42. TiledMap销毁的问题,TiledMap销毁后屏幕变灰,不能显示 [ 81%]

...相关的代码里面 在TiledMap的destroy方法内 /** * 销毁地图 */ public function destroy():void { ....... //这里是销毁地图层的代码 var tLayer:MapLayer; for (i = 0; i < _layerArray.length; i++) { tLayer = _layerArray[i]; tLayer.clearAll(); } ........ }然后在MapLayer的clear...

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

43. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 81%]

...rt laya.display.Text;     import laya.ui.Image;            public class SmartScale_T {                    //全局文本信息         private var txt:Text;                    public function SmartScale_T()          {    ...

来源: Laya2.0_文档 发布时间: 20200307

44. laya.d3.core.scene.Scene3D [ 81%]

...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Pub...

来源: Laya2.0_api 发布时间: 20190513

45. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 80%]

...ImageData,需重写,记得赋值到window */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(width * height * 4); ...

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

46. laya.map.MapLayer [ 80%]

...mes No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties ...

来源: laya_api 发布时间: 20170929

47. LAYA的AS3项目碰见个问题,求解 [ 80%]

...ext" fontSize="12" editorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public function myTexts()         {             super();         }         override protected function initialize():void         {       ...

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

48. 屏幕适配失效 [ 80%]

...高不变,不缩放不变型,stage的宽高等于设计宽高。*/  public static const SCALE_NOSCALE:String = "noscale"; /**应用保持设计比例不变,全屏显示全部内容(类似showall,但showall非全屏,会有黑边),根据屏幕长宽比,自动选择使用SCALE_FIXED_WIDT...

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

49. 3D动画倒播 [ 80%]

...: 13146870820 using UnityEngine;   using System.Collections;      public class DJH_Animation : MonoBehaviour {       public GameObject AnimationObj;//带有动画的对象              // Use this for initialization       void Start () {         ...

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

50. 通过AnimatorState为Animator添加多个播放状态islooping属性会被覆盖 [ 79%]

...享 微博 QZONE 微信 匿名用户 赞同来自:   /**获取动画 */ public getAni(): void { this.ani = this.owner.sprite3d.getComponent(Laya.Animator); let all = 486; let arr = ["3,21,run,true", "29,59,wolk,true", "70,120,cheer,true", "125,380,dance,true", "393,440,forerake,false", "443,485,bac...

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