大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...型。比如:Loader.IMAGE。 priority?: number; //(default = 0)加载的优先级,数字越大优先级越高,优先级高的优先加载。 group?: string; //分组,方便对资源进行管理。 cache?: boolean; //是否缓存 noRetry?: boolean; //是否重新尝试加载 silent?: boolean;...
来源: Laya3.0_文档 发布时间: 20251010
...ance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最小为0 */ private priority: number = 1; /** * 混合加载 * @param resKey * @param otherLoadData * @param complete * @param progress * @param priority */ public load(resKey: string, otherLoa...
来源: Laya_社区 发布时间: 20191107
...是点击按钮,按钮和射线碰撞同时进行,我需要知道如果优先点击的是UI则不处理射线碰撞 2018-01-20 0 0 分享 微博 QZONE 微信 suteam 赞同来自: 能回复一下嘛?着急啊,这是3d游戏最常用的功能了吧,还是我没找到么? 2018-01-20 0 0 分...
来源: Laya_社区 发布时间: 20180120
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此...
来源: laya_api 发布时间: 20170929
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此...
来源: laya_api 发布时间: 20170929
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此...
来源: laya_api 发布时间: 20170929
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此...
来源: laya_api 发布时间: 20170929
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此...
来源: laya_api 发布时间: 20170929
...象是否缓存为静态图像。功能同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite count : int[read-only] 当前动画中帧的总数。 AnimationPlayerBase customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能...
来源: laya_api 发布时间: 20170929
...0.5,则表示对应的列在水平方向占50%的宽度。 Piority 设置优先级。在运行时,这个值会被标准化为(-1, 0, 1)三个值之一。当item的宽度超出或者不足列的宽度时,会先调整优先级高的item的宽度。举例,假设一行中有两个item水平排...
来源: Laya3.0_文档 发布时间: 20251010