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

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

951. laya.physics.EdgeCollider_API3.0 [ 46%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

952. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 45%]

...一个全局离线画布,不会加到DOM上,主要用来测量字体、获取image数据。   主画布 同样在初始化中还创建了渲染器Render,它是一个管理渲染的单例。 2.渲染结构 Rander 来看Rander的构造函数发现,游戏渲染的主循环是通过window.reque...

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

953. laya.physics.BoxCollider_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

954. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...件会自动刷新,无需代码。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //修改节点属性,场景里的对象会自动同步,无需手动 node.props.x = 100; //修改组件属性,场景里的对象会自动同步,无需手...

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

955. 分享水波一个shader [ 45%]

...截屏分享 分享一个TS版本的3D2D结合的单机斗地主Demo 如何获取一个3D模型的长宽高? 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 问题状态 最新活动: 2019-12-18 16:45 ...

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

956. laya.physics.PolygonCollider_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

957. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 45%]

...戏后台使用富文本编辑器插件来更新游戏的公告,前端会获取这个公告的html并赋值给HTMLDivElement进行展示 在laya1.0没有问题,在laya2.0就有问题: 1.&lt;br /&gt;标签不能在&lt;p&gt;或者&lt;span&gt;里使用,但可以在&lt;div&gt;里使用,例子d...

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

958. laya.physics.ChainCollider_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

959. HTML文本 · LayaAir3.0文档 · LAYABOX [ 44%]

...ze、Color、下划线3.2 同一个文本中设置字体、颜色不同3.3 获取html文本的实际宽高(contextWidth、contextHeight)3.4 设置文本的水平居中对齐(align需要和width配合使用)3.5 实现超链接3.6 实现html页面跳转3.7 为HtmlDivElement设置行间距,leadin...

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

960. laya.effect.EffectBase_API3.0 [ 44%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

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