大约有 806 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(508) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) Laya3.0_文档(25) laya_api(24) Laya_示例(21) Laya2.0_示例(8)
... 具体的城池名称制作流程如下图 实现的伪代码如下:_container = new Sprite(); Laya.stage.addChild(_container); _container.cacheAs = "normal"; private function createCity(worldMapData:Object):void { var itemObj:Object; for(var i:int = 0 ; i < worldMapData.items.length ; i++)...
来源: Laya_社区 发布时间: 20180327
... laya21126 赞同来自: tween中有个update方法是可以的 Tween.to(_source, {x:endX, y:endY, update:Handler.create(this, tweenUpdate)},200, null, Handler.create(this, moveComplete)); 2017-12-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20171226
... Administrator * */ public class Label extends laya.ui.Label { private var _textFormat:TextFormat; private var _txt:String; private var _lWidth:int; private var _lHeight:int; private var _lx:int; private var _ly:int; public function Label(text:String="") { super(text); } public function get textForm...
来源: Laya_社区 发布时间: 20170516
...cleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeRef...
来源: Laya3.0_api 发布时间: 20231115
...效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV =...
来源: Laya2.0_示例 发布时间: 20251130
...ierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shado...
来源: Laya3.0_api 发布时间: 20231115
... ```typescript /* ……省略若干代码 */ //创建刚体碰撞器 let _rigidBody = sphere.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //开启运动类型刚体 _rigidBody.isKinematic = true; /* ……省略若干代码 */ ``` 在Unity中设置运动类型刚体的方式,如图4所示...
来源: Laya2.0_文档 发布时间: 20210715
... QZONE 微信 jinghuhuilai 赞同来自: /Users/hezhenlong/Downloads/IMG_0594.JPG 2017-05-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jinghuhuilai 相关问题 [引擎优化]希望官方可以增加stencil功能 为什么有的...
来源: Laya_社区 发布时间: 20170511
... if (window.conch) { return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空! } else { return this.getTexturePixels(x, y, width, height); ...
来源: Laya_社区 发布时间: 20220317
...sModel/hanbao.lh"); goldNode = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() * 5))...
来源: Laya_社区 发布时间: 20200326