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

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

6811. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 43%]

...否进行翻转? IDE通过.ui自动生成的ui代码报错 为什么给Sprite容器添加点击事件没反应 3d 添加灯光 模型变的黑呼呼的 很多黑面 JS 是没有自动补全提示吗 localToGlobal坐标转换 关于龙骨动画转换 问题状态 最新活动: 2017-10-27 11:54 浏...

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

6812. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 43%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on...

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

6813. laya 3D碰撞器与 Unity 不一致问题 [ 43%]

... 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! sprite旋转以后,但是原来碰撞检测rect没有旋转 laya针对页游耗用内存大的问题是如何解决的? 关于Laya实现Matter.js官方案例凹多边形的问题 Laya2.6.0beta 物理引擎 刚体碰撞点...

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

6814. 为什么自定义shader大图正常,小图就被缩小了 [ 43%]

...: 2 人 LeslieZzz • 2018-06-19 18:03 您是指 在将纹理传入myShaderSprite类的时候小图要做处理? x8? LeslieZzz • 2018-06-19 18:06 /* 该类需继承自显示对象类 在该类中使用了自定义的着色器程序 注意:使用自定义着色器时,需要设置该显示...

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

6815. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 43%]

...  export class GmPanelUI extends Laya.Base {         public bg:Laya.Sprite;         public input:Laya.TextInput;         public btnSend:Laya.Button;         public btnClose:Laya.Button;         constructor(){ super()}         createChildren():void {      ...

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

6816. 3D中摄像机绕物体旋转该如何实现? [ 43%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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

6817. 模型与动画的导入使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...景内 Laya.loader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if...

来源: Laya3.0_文档 发布时间: 20251010

6818. [LayaAirIDE3]应该如何定义@property才能像GTextField一样加载字体? [ 43%]

...这样的脚本里,实现IDE的可视化操作!例如,建立了一个Sprite预制体,在预制体里用Preloads加载了字体,然后在脚本里,使用了,fillText进行绘制文字,在运行的时候可以显示出字体效果来,但是在IDE里还是默认字体!很奇怪! 1...

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

6819. WebXR · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...ghtControl = Laya.loader.getRes("res/OculusController/controller.gltf") as Sprite3D; let leftControl = Laya.loader.getRes("res/OculusController/controller-left.gltf") as Sprite3D; let pixelright = new PixelLineSprite3D(20,"right"); let pixelleft = new PixelLineSprite3D(20,"left"); this.scene.addChil...

来源: Laya3.0_文档 发布时间: 20251010

6820. 官方案例里摄像机绕物体旋转脚本的问题 [ 43%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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