大约有 276 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...s:97 位图字体类型,加载完成后返回BitmapFont,加载后,会根据文件名自动注册为位图字体。 Static HIERARCHY HIERARCHY: string = "HIERARCHY" Defined in laya/net/Loader.ts:101 Hierarchy资源。 Static IMAGE IMAGE: string = "image" Defined in laya/net/Loader.ts:89 纹理...
来源: Laya3.0_api 发布时间: 20231115
...球,可以向四面八方发射粒子 Radius:半径 Emit from shell:根据壳发射 Randomize Direction:随机化方向 (动图8)展示了使用球形,半径是3,从球体的边缘发射 2,Hemisphere:半球形状 Radius:半径 Emit from shell:根据壳发射 Randomize Directi...
来源: Laya3.0_文档 发布时间: 20251010
...球,可以向四面八方发射粒子 Radius:半径 Emit from shell:根据壳发射 Randomize Direction:随机化方向 (动图8)展示了使用球形,半径是3,从球体的边缘发射 2,Hemisphere:半球形状 Radius:半径 Emit from shell:根据壳发射 Randomize Directi...
来源: Laya3.0_文档 发布时间: 20250104
...epthTextureModeFlag Defined in laya/d3/core/render/PostProcessEffect.ts:48 根据后期处理设置cameraDepthTextureMode inheritdoc override Returns number release release(): void Inherited from PostProcessEffect.release Defined in laya/d3/core/render/PostProcessEffect.ts:66 释放Effect inheritdoc...
来源: Laya3.0_api 发布时间: 20231102
...nnectError); // 建立连接(此处使用 connectByUrl 方式,实际可根据需要选择其他方式) this.socket.connectByUrl("wss://echo.websocket.org:443"); } /** 连接成功回调,发送字符串数据 */ private onSocketOpen(e: any): void { console.log("WebSocket 已连接"); // 发...
来源: Laya3.0_文档 发布时间: 20251010
...ansformQuat(source:Vector3, rotation:Quaternion, out:Vector3):void[static] 根据四元数旋转三维向量。 Vector3 transformV3ToV3(vector:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向量到另外一个三维向量。 Vector3 transformV3ToV4(v...
来源: laya_api 发布时间: 20170929
...转 Matrix4x4 createScaling(scale:Vector3, out:Matrix4x4):void[static] 根据缩放计算输出矩阵 Matrix4x4 createTranslate(trans:Vector3, out:Matrix4x4):void[static] 根据平移计算输出矩阵 Matrix4x4 decomposeTransRotMatScale(translation:Vector3, rotationMatrix:Matrix4x4, scale:...
来源: Laya2.0_api 发布时间: 20190513
...rce:ConchVector3, rotation:ConchQuaternion, out:ConchVector3):void[static] 根据四元数旋转三维向量。 ConchVector3 transformV3ToV3(vector:ConchVector3, transform:*, result:ConchVector3):void[static] 通过矩阵转换一个三维向量到另外一个三维向量。 ConchVector3 trans...
来源: Laya2.0_api 发布时间: 20190513
...示对象 (其实也有其他方式 这里暂不考虑) 嗯 那我们根据上面的三个功能可以写下如下代码 (function () { /** * 地板地图类 * */ function MapFloor(){ MapFloor.__super.call(this); this.init(); } //MapFloor 是一个显示对象 继承此 Sprite Laya.class(Map...
来源: Laya_社区 发布时间: 20160728
...ne, tp: Plane, bp: Plane): void Defined in laya/d3/math/BoundFrustum.ts:56 根据矩阵获取6个包围平面。 Parameters m: Matrix4x4 描述矩阵。 np: Plane 近平面。 fp: Plane 远平面。 lp: Plane 左平面。 rp: Plane 右平面。 tp: Plane 顶平面。 bp: Plane 底平面。 Returns v...
来源: Laya3.0_api 发布时间: 20231115