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

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

1. [LayaAir3]3.3BETA4-2D动态刚体allow rotation关闭无效 [ 100%]

...性,调用Physics2D.I._factory.set_rigidBody_allowRotation方法时候,传入参数为value就可以了,这里错误传入!value了 LayaAir大为 • 2025-06-26 14:01 是有这个问题,设置allowRotation的值总共传了两次!value

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

2. laya.maths.Rectangle [ 97%]

...到此矩形对象中。 Rectangle  equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle  intersection(rect:Rectangle, out:Rectangle = null):Rectangle 如果在 rect 参数中指...

来源: laya_api 发布时间: 20170929

3. laya.maths.Rectangle [ 96%]

...Rectangle[static] 创建 Rectangle  equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle  intersection(rect:Rectangle, out:Rectangle = null):Rectangle 如果在 rect 参数中指...

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

4. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 94%]

...个isLocal判断是否是局部空间,默认为true是局部空间,若传入false则是世界空间。 如果物体在局部空间和世界空间的起始位置都是一样的,并没有经过旋转等变换,那么它在两种空间中移动的结果是相同的,在第5节中会说明二者...

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

5. laya.maths.Rectangle_API3.0 [ 89%]

...als(rect: Rectangle): boolean Defined in laya/maths/Rectangle.ts:192 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Parameters rect: Rectangle 待比较的 Rectangle 对象。 Returns boolean 如果判断的属性都相...

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

6. 启动画面LoadingView · LayaAir3.3 · 引擎文档 · LAYABOX [ 89%]

...); } } image3.src = "c.png"; Tips: 当loadingView.loading(nPercent)函数传入的值等于100时,加载界面会自动关闭。也可以通过调用loadingView.hideLoadingView()关闭加载界面。 3.去掉所有文字显示 可以去掉所有文字的显示,包括tips和加载百分比,...

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

7. 启动画面LoadingView(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 88%]

...ge3.src = "c.png"; ``` **Tips:** 当`loadingView.loading(nPercent)`函数传入的值等于100时,加载界面会自动关闭。也可以通过调用`loadingView.hideLoadingView()`关闭加载界面。 ## 3.去掉所有文字显示 可以去掉所有文字的显示,包括tips和加载百分比...

来源: Laya2.0_文档 发布时间: 20210715

8. 关于Sprite设置rotation,在laya native上旋转效果不连续的问题 [ 88%]

...otaion进行设置的代码,个人觉得是conchModel.ratate(value),对传入的值进行取整了。望官方人员慎重查下,是有意还是无意,若是有意,还望说明下为什么? 2018-05-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

9. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...用 当开发者想将组件的属性,通过IDE暴露给外界编辑来传入数据。需要在类属性定义之前使用装饰器的标识@property(),示例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //装饰器属性的...

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

10. Tween.to 中 用Ease.circIn 做 加速运动 能设置初试速度吗 ?默认是 0 能改成别的吗?如果能?怎么改? [ 82%]

...: 可以更改的Tween.to(,,,Ease.circIn(,)) 直接在Ease.circIn方法中传入相应的参数就可以了 /** * 方法以零速率开始运动,然后在执行时加快运动速度。 * 缓动方程的运动加速会产生突然的速率变化。 * @param t 指定当前时间,介于 0 和持续...

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