大约有 232 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: laya_api 发布时间: 20170929
... * 缓动对象的props属性到目标值。 * @param target 目标对象(即将更改属性值的对象)。 * @param props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplet...
来源: Laya_社区 发布时间: 20180425
...Controll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//...
来源: Laya3.0_文档 发布时间: 20251010
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya2.0_api 发布时间: 20190513
...2.6 删除指定作用域的所有侦听 offAllCaller /** * 移除caller为target的所有事件侦听 * @param caller caller对象 */ offAllCaller(caller: any) 用于从事件分发器对象中删除指定作用域的所有侦听器。例如,uiBtn按钮注册了多个事件的侦听,可以用of...
来源: Laya3.0_文档 发布时间: 20251010
...Event] game.js:116 touchId=0 game.js:116 type=mousemove game.js:116 currentTarget=[object Object] game.js:116 target=[object Object] game.js:116 setTo=function (type,currentTarget,target){ this.type=type; this.currentTarget=currentTarget; this.target=target; return this; } game.js:116 stopPropagatio...
来源: Laya_社区 发布时间: 20181031
...f(e.type=="click") { //如果点击的对象是button类型 if(e.target is Button) { if(HostData.gold>HostData.array[index].gold){ //我的金币是否满足购买条件 HostEvent.I.event(HostEvent.LICKLOAD,["是否花费"+HostData.array[index].gold+"个金币购买该角...
来源: Laya_社区 发布时间: 20180522
...his object and will recursively check its child objects until it finds the target object or misses all objects. * When not penetrable, the node's width and height define the mouse collision area (a non-penetrable rectangular area). If the rectangular collision area does not meet the requirements, yo...
来源: Laya_社区 发布时间: 20250825
...hrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 TextInput重写onFocus和onBlur事件监听不到 救命!canvas定位后 点击区域偏移,求大大们解答 Animation如何加点击事件 求指点3d射线碰撞和UI...
来源: Laya_社区 发布时间: 20190211