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

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

1. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 100%]

...els = 2; // Create an empty two-second stereo buffer at the // 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 v...

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

2. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 80%]

...urn 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child && child.name === name) return child; } return null; } 当我们找到子节点时,也可以对节点做一些基础操作,比如删除掉自己方法 removeSelf() /** * 从父容器...

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

3. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 74%]

...果的摄像机成相模式,如动图4-2所示。 (动图4-2) Field of view是视野范围,从动图4-2可以看到,通过修改Field Of View,可以调整透视模式下的视野范围,从4到120度,只有使用透视投影时,Field Of View才有效。 剪裁平面是与摄像机...

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