大约有 2,682 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0102 秒)
Laya_社区(2157) Laya2.0_文档(119) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(51)
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...如何 转换 角度 我想给 舞台转换180°,虽然我可以new Laya.Sprite() 转换这个sprite的角度,但是list之类的组件滑动 就会反向移动 2017-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...
来源: Laya_社区 发布时间: 20170421
...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图...
来源: Laya2.0_文档 发布时间: 20210715
....8, -1); this.directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); Laya.Sprite3D.load("res/scene/LayaScene_webgl_sky/Conventional/webgl_sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=t...
来源: Laya_社区 发布时间: 20200903
... //平面加载 let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); plane.transform.position = new Laya.Vector3(0, -2, 0); let planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/thre...
来源: Laya_社区 发布时间: 20201127
使用loadImage加载一个图片后的点击事件 var Sprite = Laya.Sprite; var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage(img,360, 300, 60, 60, Laya.Handler.create(this, function(){ ape.on(Laya.Event.CLICK, this, function(){ console.log(111) }) }));...
来源: Laya_社区 发布时间: 20180609
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...小通过率 Parameters value: number Returns void renders get renders(): Sprite3D[] set renders(value: Sprite3D[]): void Defined in laya/d3/component/LODGroup.ts:93 设置LODInfo的节点信息 Returns Sprite3D[] Defined in laya/d3/component/LODGroup.ts:86 设置LODInfo的节点信息 Parameters va...
来源: Laya3.0_api 发布时间: 20231115
...线,示例代码如下: ```typescript module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import WebGL = Laya.WebGL; export class Sprite_DrawShapes { private sp: Sprite; constructor() ...
来源: Laya2.0_文档 发布时间: 20210715