大约有 3,535 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0065 秒)
...Defined in laya/physics/joint/WeldJoint.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 Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...的左上角位置偏移,如果不设置,则根据鼠标点击点作为连接点 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/co...
来源: Laya3.0_api 发布时间: 20231115
...拖尾每一部分的实际宽度。在IDE中,开发者可以通过双击连接线来创建一个新的关键帧,并通过拖动关键帧的点来设置宽度曲线。拖尾在创建顶点时会在宽度曲线上采样,因此拖尾宽度的精度也与minVertexDistance属性有关。 (图1-3...
来源: Laya3.0_文档 发布时间: 20251010
...们通过一个完整的代码来演示下这个类的应用,比如网络连接中,我们接收和发送网络消息。 ```typescript var msg ={name:"xxx",age:18,weight:65.5,height:175}; var byte = new Laya.Byte();//实例化byte数组 byte.endian = Laya.Byte.LITTLE_ENDIAN;//设置大小端 byte...
来源: Laya2.0_文档 发布时间: 20210714
...们通过一个完整的代码来演示下这个类的应用,比如网络连接中,我们接收和发送网络消息。 ```typescript var msg:Object ={name:"xxx",age:18,weight:65.5,height:175}; var byte:Byte = new Byte();//实例化byte数组 byte.endian = Byte.LITTLE_ENDIAN;//设置大小端 by...
来源: Laya2.0_文档 发布时间: 20210715
...s = 10; ``` #### (3) CapsuleColliderShape胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raid...
来源: Laya2.0_文档 发布时间: 20210715
...: Matrix Defined in laya/maths/Matrix.ts:247 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 Parameters matrix: Matrix 要连接到源矩阵的矩阵。 Returns Matrix 当前矩阵。 copyTo copyTo(dec: Matrix): Matrix Defined in laya/maths/M...
来源: Laya3.0_api 发布时间: 20231115
... - 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
...们通过一个完整的代码来演示下这个类的应用,比如网络连接中,我们接收和发送网络消息。 ```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
...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