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

大约有 652 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)

311. scene添加View,view里面标记的var信息会丢失 [ 61%]

...eScript.ts; 4、StartSceneScript里面var信息会丢失,只能通过name属性找到显示对象。   附件 : --> 2018-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: scene的 va...

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

312. 运动刚体(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 61%]

... is Kinematic 选项,或者代码修改 `rigidBody.isKinematic = true` 属性来设置运动学刚体。 ![](img/1.png)(图1) 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Kinematic)): ```typ...

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

313. laya.ani.bone.Skeleton_API3.0 [ 61%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

314. laya.ui.Tab_API3.0 [ 61%]

... "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.i...

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

315. laya.ui.Clip_API3.0 [ 61%]

... clip 动画的播放时间间隔。 clip.x = 100;//设置 clip 对象的属性 x 的值,用于控制 clip 对象的显示位置。 clip.y = 100;//设置 clip 对象的属性 y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函...

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

316. laya.display.Animation_API3.0 [ 61%]

...on");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.interval = 50;//设置 animation 对...

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

317. laya.ui.Slider_API3.0 [ 61%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置...

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

318. laya.ui.MoreGame [ 61%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到...

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

319. laya.physics.PhysicsDebugDraw [ 61%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象...

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

320. laya.ui.View [ 61%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边...

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