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

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

641. laya.display.Sprite [ 49%]

...se, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持...

来源: laya_api 发布时间: 20170929

642. 把场景中的对像删除,就会报错 [ 49%]

...Sprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147)     at SceneView.__proto.render (Main.max.js?r0.22069932534774384:54362)     at RenderSprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147)     at RenderSprite3D.__proto._transform (Main.max.js?r0.22069932534774384:5...

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

643. laya.device.media.Video [ 49%]

...置为负数,可以实现垂直反转效果,比如scaleX=-1。Sprite scene : *[read-only] 获得所属场景。 Node scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象渲染区域,请使用viewport) srollRect和viewport的区别: 1.sro...

来源: Laya2.0_api 发布时间: 20190513

644. tiledmap有时尺寸不正确 [ 48%]

...ug吗,我的代码是根据教程来写的,现附上代码export class Scene{ // 当前场景的配置信息 private _mLevelConf:LevelConf = null; // 地图文件 private _mTiledMap:TiledMap = null; // 自定义信息文件 private _mLoader:Loader = null; // 当前地图X坐标 private _mViewPor...

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

645. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 48%]

...问题 请问LayaAir中如何使图片以圆形的方式显示? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 预设怎么在代码中使用 unity...

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

646. Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 [ 48%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 自定义场景类导出layaMaxUI.ts有前缀导致报错 我...

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

647. laya.ui.Clip [ 48%]

...负数,可以实现垂直反转效果,比如scaleX=-1。UIComponent scene : *[read-only] 获得所属场景。 Node scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象渲染区域,请使用viewport) srollRect和viewport的区别: 1.srol...

来源: Laya2.0_api 发布时间: 20190513

648. laya.ui.UIGroup [ 48%]

...负数,可以实现垂直反转效果,比如scaleX=-1。UIComponent scene : *[read-only] 获得所属场景。 Node scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象渲染区域,请使用viewport) srollRect和viewport的区别: 1.srol...

来源: Laya2.0_api 发布时间: 20190513

649. 3D 鼠标检测 错乱 [ 48%]

...pdate() { var i=0,n=0,j=0,m=0; n=this._eventList.length; var cameras=this._scene._cameraPool; if (n > 0){ for (i=0;i < n;i++){ var e=this._eventList; switch (e.type){ case "mousedown": this._mouseTouchDown(); break ; case "mouseup": this._mouseTouchUp(); break ; case "mousemove":; var mousePoi...

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

650. laya.ui.Label [ 48%]

...负数,可以实现垂直反转效果,比如scaleX=-1。UIComponent scene : *[read-only] 获得所属场景。 Node scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象渲染区域,请使用viewport) srollRect和viewport的区别: 1.srol...

来源: Laya2.0_api 发布时间: 20190513