大约有 5,762 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0133 秒)
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY :...
来源: Laya2.0_api 发布时间: 20190513
...etComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherited from Node.getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/core/material/Material.ts:62 加载材质。 Parameters url: string 材...
来源: Laya3.0_api 发布时间: 20231115
...etComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherited from Node.getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...etComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherited from Node.getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...这种文字如何处理?可能我们想到的是美术出图片。那有没有更简单的方法呢?这里我们选择用svg来进行处理。我们知道在dom元素中用div+css样式来显示这种效果是最简单快捷的方法。那么我们也借助css样式来展示这种效果。下...
来源: Laya2.0_文档 发布时间: 20210715
...品1.zip 2019-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Nevermore 赞同来自: 代码很简单 先load 再play let dreamsSound:Laya.SoundChannel = null Laya.loader.load("res/dreams.mp...
来源: Laya_社区 发布时间: 20190716
...测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被命中,则进一步递归检测其子对象,以确认最终的命中目标。 合理使用本属性,能减少鼠标事件检测的节点...
来源: Laya3.0_api 发布时间: 20231115
...etComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherited from Node.getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...种文字如何处理呢?可能我们想到的是美术出图片。那有没有更简单的方法呢?这里我们选择用svg来进行处理。我们知道在dom元素中用div+css样式来显示这种效果是最简单快捷的方法。那么我们来借助css样式来展示这种效果。下...
来源: Laya3.0_文档 发布时间: 20251010