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

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

931. laya.d3.physics.PhysicsSimulation_API3.0 [ 46%]

...(value: Vector3): void Defined in laya/d3/physics/PhysicsSimulation.ts:176 获取重力。 Returns Vector3 Defined in laya/d3/physics/PhysicsSimulation.ts:182 获取重力。 Parameters value: Vector3 Returns void Methods addConstraint addConstraint(constraint: ConstraintComponent, disableCollisions...

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

932. laya.physics.CircleCollider_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

933. 截屏drawToCanvas的疑问 [ 46%]

...灵显示到舞台          *          * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p>          *          * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...

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

934. laya.physics.EdgeCollider_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

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

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

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

936. 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

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

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

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

938. 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

939. 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

940. 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