• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)

211. GetFowrd获取不到 [ 78%]

...iss 赞同来自: 你这里一共有两个问题 1.getForward()这个方法返回为void,所以不能跟向量相乘 2.Laya里面Vector3的向量不能跟数直接相乘 你可以参考我的这种写法   2020-08-05 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

来源: Laya_社区 发布时间: 20200804

212. laya.device.geolocation.Geolocation [ 78%]

...为false。 Geolocation  maximumAge : Number = 0[static] 表示可被返回的缓存位置信息的最大时限。 如果设置为0,意味着设备不使用缓存位置,并且尝试获取实时位置。 如果设置为Infinity,设备必须返回缓存位置而无论其时限。 Geolocatio...

来源: laya_api 发布时间: 20170929

213. laya.device.geolocation.Geolocation [ 78%]

...为false。 Geolocation  maximumAge : Number = 0[static] 表示可被返回的缓存位置信息的最大时限。 如果设置为0,意味着设备不使用缓存位置,并且尝试获取实时位置。 如果设置为Infinity,设备必须返回缓存位置而无论其时限。 Geolocatio...

来源: Laya2.0_api 发布时间: 20190513

214. laya.ui.FontClip_API3.0 [ 78%]

...ent> Inherited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite....

来源: Laya3.0_api 发布时间: 20231115

215. ts 用 getChildByName 返回类型出错 [ 78%]

ts 用 getChildByName 返回类型出错 ts 用 getChildByName 返回类型是laya.display.Node 如果返回的其实是 Text, 把它赋给一个Laya.Text 编辑器就报错 这个怎么解决 var text:Laya.Text = someNode.getChildByName('textName'); [ts] Type 'Node' is not assignable to type ...

来源: Laya_社区 发布时间: 20161029

216. 把 hr.http.timeout 设置后,如果超时没消息返回 [ 78%]

把 hr.http.timeout 设置后,如果超时没消息返回 如果我设置为 hr.http.timeout = 3000 (秒),后端设置为10秒后返回,3秒超时后..没消息返回,不是应该有个超时消息返回的? 这个应该怎么处理? 谢谢了.   2017-10-16 添加评论 免费帖 --> 分享 微博...

来源: Laya_社区 发布时间: 20171016

217. laya.ui.Clip_API3.0 [ 78%]

...ent> Inherited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite....

来源: Laya3.0_api 发布时间: 20231115

218. 缓动 · LayaAir3.4 · 引擎文档 · LAYABOX [ 78%]

...标对象作为参数: /** * @zh 创建一个新的缓动对象。使用返回的对象可以设置缓动的属性和其他选项。 * 缓动会自动开始,无需额外API调用。如果不想tween被立刻执行,可以调用pause,后续再调用resume。 * @param target 缓动的目标对...

来源: Laya3.0_文档 发布时间: 20251010

219. laya.d3.core.GradientMode [ 78%]

...,以获得一种混合的颜色。 GradientMode  Fixed : int = 1[static] 返回一个固定的颜色,通过查找第一个键的时间大于所请求的评估时间。 GradientModeConstant DetailBlendConstantpublic static const Blend:int = 0 找到与请求的评估时间相邻的两个键,...

来源: Laya2.0_api 发布时间: 20190513

220. laya.ui.Dialog_API3.0 [ 78%]

...ent> Inherited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite....

来源: Laya3.0_api 发布时间: 20231115