大约有 435 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(186) Laya3.0_api(80) Laya2.0_api(60) laya_api(52) Laya2.0_文档(30) Laya3.0_文档(25) Laya2.0_示例(1) Laya_示例(1)
...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
...相关的代码里面 在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
...rt laya.display.Text; import laya.ui.Image; public class SmartScale_T { //全局文本信息 private var txt:Text; public function SmartScale_T() { ...
来源: Laya2.0_文档 发布时间: 20200307
...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
...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
...mes No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties ...
来源: laya_api 发布时间: 20170929
...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
...高不变,不缩放不变型,stage的宽高等于设计宽高。*/ public static const SCALE_NOSCALE:String = "noscale"; /**应用保持设计比例不变,全屏显示全部内容(类似showall,但showall非全屏,会有黑边),根据屏幕长宽比,自动选择使用SCALE_FIXED_WIDT...
来源: Laya_社区 发布时间: 20180503
...: 13146870820 using UnityEngine; using System.Collections; public class DJH_Animation : MonoBehaviour { public GameObject AnimationObj;//带有动画的对象 // Use this for initialization void Start () { ...
来源: Laya_社区 发布时间: 20171204
...享 微博 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