大约有 264 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
... Defined in laya/resource/Texture.ts:153 截取Texture的一部分区域,生成新的Texture,如果两个区域没有相交,则返回null。 Parameters texture: Texture 目标Texture。 x: number 相对于目标Texture的x位置。 y: number 相对于目标Texture的y位置。 width: number ...
来源: Laya3.0_api 发布时间: 20231115
...r.pos(...).scale(...); Sprite randRange(minNum:*, maxNum:*):int[static] 生成指定范围的随机数 AdvImage reCache():void在设置cacheAs的情况下,调用此方法会重新刷新缓存。Sprite removeChild(node:Node):Node 删除子节点。 Node removeChildAt(index:int):Node 根据子...
来源: Laya2.0_api 发布时间: 20190513
...ut: Ray): void Defined in laya/d3/core/Camera.ts:1302 计算从裁切空间生成的射线。 Parameters point: Vector2 裁切空间的位置。 out: Ray 输出射线。 Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?:...
来源: Laya3.0_api 发布时间: 20231115
...portPointToRay Defined in laya/d3/core/Camera.ts:1302 计算从裁切空间生成的射线。 Parameters point: Vector2 裁切空间的位置。 out: Ray 输出射线。 Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?:...
来源: Laya3.0_api 发布时间: 20231115