大约有 2,788 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0100 秒)
...(最新版本:1.7.16) Layaair IDE的帧属性面板不见了 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite...
来源: Laya_社区 发布时间: 20161027
...示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐...
来源: Laya2.0_api 发布时间: 20190513
...xx的版本,可以用命令查看node版本 例如: ```bash $ node -v v4.2.0 ``` 这个版本就可以。 ### 2. 安装 layadcc ```bash npm install -g layadcc ``` 如果顺利安装完,就可以在命令行中直接执行layadcc。 ### 3.使用方法 ``` layadcc 资源目录 [options] options: -...
来源: Laya2.0_文档 发布时间: 20210714
... // sample rate of the AudioContext var frameCount = audioCtx.sampleRate * 2.0; var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < ...
来源: Laya2.0_文档 发布时间: 20210715
...克隆对象,统计面板的显存和内存就会显示成负数 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ...
来源: Laya_社区 发布时间: 20181120
... // sample rate of the AudioContext var frameCount = audioCtx.sampleRate * 2.0; var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel &l...
来源: Laya3.0_文档 发布时间: 20251010
...复被折叠 要回复问题请先登录 发起人 A梁马勇 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 请问LayaAir中如何使图片以圆形的方式显示? matter中layasprite怎么改变图片大小? Texture图片能否进...
来源: Laya_社区 发布时间: 20181031
...频的当前播放速度。如: 1.0 正常速度 0.5 半速(更慢) 2.0 倍速(更快) -1.0 向后,正常速度 -0.5 向后,半速 只有 Google Chrome 和 Safari 支持 playbackRate 属性。 Video preload : String preload 属性设置或返回是否在页面加载后立即加载...
来源: Laya2.0_api 发布时间: 20190513
... // sample rate of the AudioContext var frameCount = audioCtx.sampleRate * 2.0; var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate); window.onclick = function() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel ...
来源: Laya2.0_文档 发布时间: 20210714
...示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐...
来源: Laya2.0_api 发布时间: 20190513