大约有 344 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0081 秒)
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.transform.position.vsub(this.curpos, this.delatpos); this.camera.transform.p...
来源: Laya3.0_文档 发布时间: 20251010
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...格渲染器 setMesh2DRender(): void { let mesh2Drender = this.layaMonkey.getComponent(Laya.Mesh2DRender); // 添加网格 mesh2Drender.sharedMesh = this.generateCircleVerticesAndUV(100, 100); let tex = Laya.loader.getRes("resources/layabox.png"); mesh2Drender.texture = tex; // mesh2Drender.color = ...
来源: Laya3.0_文档 发布时间: 20251120
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getDrawSprite(gridX:int, gridY:int):GridSprite 得到一个G...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513