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

大约有 390 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)

201. 请问laya有没有类似翻页容器(pageView)的组件? [ 71%]

... { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.li...

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

202. 加载3D场景报错:TypeError: bt.btBvhTriangleMeshShape create is not a function [ 71%]

...Json02 (http://10.251.141.146:8900/bin ... 837:23)     at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39)     at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin ... 892:67)  ==JSERROR: http://10.251.141.146:8900/bin ... :439: TypeError: bt.btBvhTriangleMesh...

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

203. Laya.Tween.to 有没有监听值的变化的方法? [ 71%]

...现 试图访问该方法时失败 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 求让Particle2D的粒子能从最开始的地方播放的方法!! onOp...

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

204. Laya1.7.20如何加载3d资源? [ 71%]

...写的啊 u3d5.6.6 插件也是下的1.x bpmf_d • 2019-05-15 11:52 var scene: Laya.Scene = Laya.Scene.load("LayaScene_01/loveScene.ls"); 你试试这个能行么 先不写多余参数 Laya.loader.create("res/Cube.ls",Laya.Handler.create(this,this.completeHandler));

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

205. TypeError Uncaught TypeError: Object #<error> has no method '_addReference' [ 71%]

...aught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错...

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

206. destroy节点后,报错 [ 71%]

...node.name); node.destroyChildren(); }   以上两种写法都会报错 at Scene3D.__proto._update (file:///D:/minigame/throwball/bin/libs/laya.d3.js:34104:15)   at Stage.__proto.render (file:///D:/minigame/throwball/bin/libs/laya.core.js:31069:23)   at Stage.__proto._loop (file:///D:/minigame/thr...

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

207. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 71%]

...们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建...

来源: Laya2.0_文档 发布时间: 20210715

208. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 71%]

...aught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefine...

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

209. laya.d3.core.light.PointLight_API3.0 [ 70%]

...y LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shad...

来源: Laya3.0_api 发布时间: 20231115

210. 像素线 · LayaAir3.0文档 · LAYABOX [ 70%]

...eSprite3D: Laya.PixelLineSprite3D = new Laya.PixelLineSprite3D(3500); this.scene.addChild(sphereLineSprite3D); //设置像素线渲染精灵线模式 Tool.linearModel(sphere, sphereLineSprite3D, Laya.Color.GREEN); } 到此,像素线代码部分就介绍完了,往往我们也可以对一个外部...

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