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

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

741. laya.ui.ComboBox_API3.0 [ 72%]

...: 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

742. 舞台转换角度 [ 72%]

...如何 转换 角度 我想给 舞台转换180°,虽然我可以new Laya.Sprite() 转换这个sprite的角度,但是list之类的组件滑动 就会反向移动 2017-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

743. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 72%]

...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

744. Cannot read property 'rayCast' of undefined [ 72%]

....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

745. 3D网格添加刚体后设置欧拉角出现位置错误 [ 72%]

...  //平面加载         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

746. 使用loadImage加载一个图片后的点击事件 [ 72%]

使用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

747. laya.ui.RadioGroup_API3.0 [ 72%]

...: 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

748. laya.ui.Tab_API3.0 [ 72%]

...: 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

749. laya.d3.component.LODInfo_API3.0 [ 72%]

...小通过率 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

750. 绘制曲线(TypeScript-LayaAir基础篇(TS)-矢量图) [ 72%]

...线,示例代码如下: ```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