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

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

211. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 40%]

... VertexBuffer3D.getUint8Data Defined in laya/d3/graphics/VertexBuffer3D.ts:90 获取顶点数据。 Returns Uint8Array 顶点数据。 orphanStorage orphanStorage(): void Inherited from VertexBuffer3D.orphanStorage Defined in laya/d3/graphics/VertexBuffer3D.ts:58 剥离内存块存储。 Returns voi...

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

212. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 40%]

...ion = new Laya.Vector3(0.0, 0.0, 0); box.transform.rotate(new Laya.Vector3(90, 0, 0), false, false); Laya.loader.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //###################################################...

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

213. 物理引擎显示旋转问题 [ 39%]

...充了下代码哈,这里很奇怪,就是矩形的角度感觉旋转了90度,但是其他例子又不会 Monica • 2018-03-23 15:05 @sw3358335:关于物理引擎,LayaAir内部用的就是matter官网的库;应该是不会有问题的,麻烦上传一个可以直接运行的项目(我...

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

214. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 39%]

...在浏览器上就不居中了,2.1.1.1版本也没有效果 3.input旋转90度后,图片是旋转了但输入区域没有旋转,类似的panel、list的滑动区域也不能旋转 4.最新的2.2.0beta3下载后放到项目中报错laya.effect.js中的laya未定义   附件 : --> htmlDiv.zip 2...

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

215. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 38%]

... gamepad index index: number Defined in laya/d3/WebXR/core/WebXRGamepad.ts:90 The index of the gamepad Static EVENT_PRESS_ENTER EVENT_PRESS_ENTER: string = "pressEnter" Defined in laya/d3/WebXR/core/WebXRGamepad.ts:78 Static EVENT_PRESS_OUT EVENT_PRESS_OUT: string = "pressOut" Defined in laya/d3/Web...

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

216. 获取位置信息 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...0度表示指向正北方,方向以顺时针旋转(这表示东方是90度,西方是270度)。如果speed是0,heading会是NaN。如果设备无法提供heading信息,值为null。 speed —— 返回设备每秒的移动速度(米)。speed可能为null。 timestamp —— 获取得...

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

217. laya.media.SoundManager_API3.0 [ 37%]

...und autoReleaseSound: boolean = true Defined in laya/media/SoundManager.ts:90 音效播放后自动删除。 default true Static musicVolume musicVolume: number = 1 Defined in laya/media/SoundManager.ts:25 背景音乐音量。 default 1 Static playbackRate playbackRate: number = 1 Defined in laya/m...

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

218. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...100; spotLightComponent.outerRadius = 500; spotLightComponent.innerAngle = 90; spotLightComponent.outerAngle = 120; // 开启阴影 spotLightComponent.shadowEnable = true; } // 创建背景 createBackground(): void { this.owner.addChild(this.background); let tex = Laya.loader.getRes("resources/bg2.p...

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

219. 纹理资源 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...旋转 rotate 纹理旋转 用于改变纹理在表面上的朝向,以 90° 为单位进行顺时针(左)或逆时针(右)调整2 左(顺时针):顺时针旋转纹理 90°。 右(逆时针):逆时针旋转纹理 90°。 纹理旋转不会影响纹理本身的数据,只在采...

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

220. 有关Laya3D碰撞检测疑问 [ 34%]

... Laya.Vector3(0.5, 0.25, 0.5); sphere.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); var sphereCollider = sphere.addComponent(Laya.SphereCollider) as Laya.SphereCollider; sphereCollider.center = sphere.meshFilter.sharedMesh.boundingSphere.center.clone(); sphereCollider.radius = sphere.m...

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