大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0225 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...要回复问题请先登录 发起人 180*****858 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请教一个关于laya2.5d项目美术规范的问题哈 在List渲染的时候,在滚动一个list的时候,如何实现另一个lis...
来源: Laya_社区 发布时间: 20180516
...tiledMap格子中添加精灵? // TiledMap 5X5格子地图 this.tMap = new Laya.TiledMap(); var viewRect = new Laya.Rectangle(-50,-50,Laya.Browser.width,Laya.Browser.height); this.tMap.createMap("res/map/map.json",viewRect); // 精灵 var sp = new Laya.Sprite(); sp.graphics.drawRect(0, 0, 100, 10...
来源: Laya_社区 发布时间: 20180721
... weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector3Keyframe(weightMode?: boolean): Vector3Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector3Keyframe.ts:19 创建一个 Vector3Keyframe 实例。 Parameters Default value weightMode: boolean = fal...
来源: Laya3.0_api 发布时间: 20231115
... weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector4Keyframe(weightMode?: boolean): Vector4Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector4Keyframe.ts:20 创建一个 Vector4Keyframe 实例。 Parameters Default value weightMode: boolean = fal...
来源: Laya3.0_api 发布时间: 20231115
... weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector2Keyframe(weightMode?: boolean): Vector2Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector2Keyframe.ts:20 创建一个 Vector2Keyframe 实例。 Parameters Default value weightMode: boolean = fal...
来源: Laya3.0_api 发布时间: 20231115
...试过scale了 但是效果是这样的 : 代码 : var point = new Sprite(); this.addChild(point); point.graphics.drawCircle(88, 86, 40, 'transparent'); var tx = new Sprite(); tx.loadImage(PATH + 'tx.jpg'); tx.scale(0.3,0.3); this.addChild(tx); tx.mask = point; 2017-09-28 0 2 分享 微...
来源: Laya_社区 发布时间: 20170928
UI 控件多次调用 RESIZE 回调问题 var a = new Laya.Box(); a.left = a.top = a.right = a.bottom = 0; a.on(Laya.Event.RESIZE, this, () => { console.warn(" resize ===== "); }) Laya.stage.addChild(a); Laya.timer.loop(1000, this, () => { a.addChild(new Laya.Box()); }); --------------- 测...
来源: Laya_社区 发布时间: 20181214
...的呀 sckay • 2018-02-09 16:44 @Laya_Aaron: //方案一: var s:Sprite = new Sprite(); s.graphics.setAlpha(0.3); s.graphics.drawRect(0,0,300,300,"#ffffff"); s.graphics.setAlpha(1); addChild(s); var img:Image = new Image("a.png"); s.addChild(img); //方案二: var s:Sprite = new...
来源: Laya_社区 发布时间: 20180209
js多角色同屏显示 //console.log("进入大厅"); var bidding = new Bidding(); bidding.init(); Dispatcher.Emit("bidder"); Laya.stage.addChild(bidding); 多个角色在Bidding()中显示,可是每个人访问都会new一个Bidding();就不能多个角色同屏显示 每人每次访...
来源: Laya_社区 发布时间: 20170809
...//添加照相机 var camera:Camera = (scene.addChild(new Camera( 0, 0.1, 100))) as Camera; camera.transform.translate(new Vector3(0, 3, 3)); camera.transform.rotate(new Vector3( -30, 0, 0), true, false); camera.clea...
来源: Laya_社区 发布时间: 20170527