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

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

1711. 2D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

LayaAir3-IDE可视化2D物理编辑详解一、新手必读1.1 前言1.2 物理引擎长度转换需知(必读)二、刚体 RigidBody2.1 添加刚体组件2.2 刚体类型 type2.3 重力2.4 角速度 angularVelocity2.5 角阻尼 angularDampin2.6 线性速度 linearVelocity2.7 线性阻尼 linea...

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

1712. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 29%]

...ormat { return this._styleMap[id]; } /** * 给文本赋值样式 * @param {Laya.Label} label * @param {ITextFormat} styleObj */ assignLabelFontStyle(label: Laya.Label, style: string | ITextFormat): void { let keys: Array<string> = ["bgColor", "bold", "borderColor", "color", "font", "fontSize",...

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

1713. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 28%]

...1.7.19 描述: 使用对象池重复使用skeleton报错,但每次new Laya.Skeleton() 就没问题。   伪代码: const ​temp = new Laya.Templet(); temp.parseData(xxx, xxx, 0);   // 从对象池中获取skeleton const skeleton = Laya.Pool.getItemByClass('abc', Laya.Skeleton); skeleton.in...

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

1714. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 26%]

...会有很多的障碍物,角色会自动绕过障碍物到达终点。 LayaAir为开发者提供了2D寻路解决方案。自动寻路可以有很多种实现方式。一种比较传统的是使用“A*寻路”算法,很多页游和端游都用到这种技术。在LayaAir中也可以使用这...

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

1715. laya.media.SoundNode [ 24%]

...ndex | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,...

来源: laya_api 发布时间: 20170422

1716. laya.ui.FrameClip [ 24%]

...ndex | Frames No Frames FrameClipProperties | Methods | Events Packagelaya.uiClasspublic class FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Pr...

来源: laya_api 发布时间: 20170422

1717. laya.map.TileAniSprite [ 23%]

... | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Publi...

来源: laya_api 发布时间: 20170929

1718. laya.physics.PhysicsDebugDraw [ 22%]

... Frames No Frames PhysicsDebugDrawProperties | Methods | Events Packagelaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherit...

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

1719. laya.d3.core.scene.VRScene [ 22%]

...ames No Frames VRSceneProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties...

来源: laya_api 发布时间: 20170422

1720. laya.map.TileAniSprite [ 22%]

... | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Publi...

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