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

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

3511. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

... - 1; index[ibIndex + 2] = numSegments; } // 处理最后一个三角形:连接最后一个顶点、第一个顶点和圆心 index[ibIndex] = numSegments - 1; index[ibIndex + 1] = 0; index[ibIndex + 2] = numSegments; // 顶点声明 var declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITI...

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

3512. Byte二进制读写(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 33%]

...们通过一个完整的代码来演示下这个类的应用,比如网络连接中,我们接收和发送网络消息。 ```typescript var msg:any ={name:"xxx",age:18,weight:65.5,height:175}; var byte:Laya.Byte = new Laya.Byte();//实例化byte数组 byte.endian = Laya.Byte.LITTLE_ENDIAN;//设置...

来源: Laya2.0_文档 发布时间: 20210715

3513. laya.physics.joint.MotorJoint_API3.0 [ 32%]

...efined in laya/physics/joint/MotorJoint.ts:14 [首次设置有效]关节的连接刚体 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

3514. 打包安卓Android studio黑屏 [ 32%]

... Canvas” 的放缩策略 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 图集打包找不到图集文件 LayaAir2D示例 Mac 2.0.0beta3 Chrome调试黑...

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

3515. laya.physics.joint.DistanceJoint_API3.0 [ 32%]

...ned in laya/physics/joint/DistanceJoint.ts:14 [首次设置有效]关节的连接刚体,可不设置,默认为左上角空刚体 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherit...

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

3516. laya.physics.joint.RevoluteJoint_API3.0 [ 32%]

...ned in laya/physics/joint/RevoluteJoint.ts:16 [首次设置有效]关节的连接刚体,可不设置 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor ...

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

3517. 多种碰撞器形状(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 32%]

...s = 10; ``` #### (3) CapsuleColliderShape胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 ![](img/4.jpg)(图4) ![](img/5.png)(图5) ```typescript var raid...

来源: Laya2.0_文档 发布时间: 20210714

3518. laya.physics.joint.PrismaticJoint_API3.0 [ 31%]

...ed in laya/physics/joint/PrismaticJoint.ts:16 [首次设置有效]关节的连接刚体,可不设置,默认为左上角空刚体 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherit...

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

3519. 多种碰撞器形状(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 31%]

...s = 10; ``` #### (3) CapsuleColliderShape胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 ![](img/4.jpg)(图4) ![](img/5.png)(图5) ```typescript var raid...

来源: Laya2.0_文档 发布时间: 20210714

3520. Layabox web 复制一段文字到剪贴板 [ 31%]

...的定义!这是为什么? 已上传 Demo 附件 Native2.0正式版wss连接不成功web版本没问题,有DEMO layabox中纹理的颜色采样问题,用原生combobox也有这个问题 在编辑好的动画中某一帧的时候播放一段声效 请问 在LayaAir中怎么显示和隐藏文...

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