大约有 219 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...dMesh = mesh; render.sharedMaterial = this.batchMat; //随机位置 sprite.transform.localPosition = this._getRandomPosition(positionRanvge); //随机一个颜色索引 let colorIndex = Math.floor(Math.random() * this._colorNums); //设置节点的 Laya.ENodeCustomData.custom_0 为对应的颜色索...
来源: Laya3.0_文档 发布时间: 20251010
...iKenParticle3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By ShuriKenParti...
来源: laya_api 发布时间: 20170929
...nderer; onUpdate(): void { // 获取世界位置 let worldPos = this.owner.transform.position; console.log(`Spine3D世界坐标: ${worldPos.x}, ${worldPos.y}, ${worldPos.z}`); // 获取屏幕坐标(用于点击检测等) let screenPos = this.spine3D._baseRenderNode.shaderData.getVector(Sprite3D....
来源: Laya3.0_文档 发布时间: 20260203
...。 UIComponent total : int[read-only] 切片动画的总帧数。 Clip transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite value : String 设置位图字体的显示内容 FontClip viewport ...
来源: Laya2.0_api 发布时间: 20190513
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle 视口大小,视口外的子对象,将不被...
来源: Laya2.0_api 发布时间: 20190513
...prite3D; onSceneGUI(): void { IEditorEnv.Handles.drawHemiSphere(this.owner.transform.position, 2); } onDrawGizmos(): void { IEditorEnv.Gizmos.drawIcon(this.owner.transform.position, "editorResources/UI/ready1.png"); } } 实现效果如下: 2D的实现方式有所不同,它必须通过IEditorEnv....
来源: Laya3.0_文档 发布时间: 20251010
...exture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite treeLevel : int 四/八叉树的层数。BaseScene treeRoot : ITreeN...
来源: laya_api 发布时间: 20170422
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle 视口大小,视口外的子对象,将不被...
来源: Laya2.0_api 发布时间: 20190513
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle 视口大小,视口外的子对象,将不被...
来源: Laya2.0_api 发布时间: 20190513
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle 视口大小,视口外的子对象,将不被...
来源: Laya2.0_api 发布时间: 20190513