大约有 5,880 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0093 秒)
...成这样才验证通过 lymeng520 • 2017-11-18 16:52 照理来说,我定义的数组已经是字符串类型的数组,不需要我转换类型才对
来源: Laya_社区 发布时间: 20171118
...示正常,发布到移动端不显示模型,但是顶点数面数都有 自定义场景类导出layaMaxUI.ts有前缀导致报错 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 问题状态 最新活动: 2017-...
来源: Laya_社区 发布时间: 20171129
...无法正常作用问题-解决办法 3D模型无法修改scale? dialog 自定义关闭效果,效果执行完,弹窗无法关闭 使用getChildByName()无法得到子节点对象 Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 发布到vivo平台后,龙骨动画无法显示...
来源: Laya_社区 发布时间: 20190506
...APP打开加载速度过慢,有黑屏,如何加入闪屏图片 event自定义事件的问题 关于apk打包动画卡的问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-02-12 19:05 浏览: 1677 关注: 2 人 reven1983 • 2017-02-12 20:34 ...
来源: Laya_社区 发布时间: 20170212
...tmapFontInheritanceBitmapFont Object BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,请参考文章 See alsohttp://ldc2.layabox.com/doc/?nav=ch-js-1-2-5Public Properties PropertyDefined By autoScaleSize : Boolean = false表示是否根据实际使...
来源: Laya2.0_api 发布时间: 20190513
...了解每个部分。 首先,动画状态机 Animator 可以允许我们定义动画状态,以及动画状态之间的切换条件,来驱动3D对象播放不同的动画,表现出不同的行为。那么动画状态机有下面几部分构成: 动画状态机组件 Animator Component :...
来源: Laya3.0_文档 发布时间: 20251010
... 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = La...
来源: Laya_社区 发布时间: 20180605
...秒。 例如要打开一个新场景,使用加载页面,那么就先定义一个脚本代码,加入可能拖入loading场景的Laya.Prefab属性,代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @pr...
来源: Laya3.0_文档 发布时间: 20251010
...象 继承此 Sprite Laya.class(RunGame,"RunGame", laya.display.Sprite); //定义RunGame的prototype var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Background(); this.addChild(this.bg); //地板 this.mapFloor = new MapFloor()...
来源: Laya_社区 发布时间: 20160801
...运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined [TMA][ER...
来源: Laya_社区 发布时间: 20180709