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

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

1111. laya.d3.core.Gradient [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientProperties | Methods Packagelaya.d3.coreClasspublic class GradientInheritanceGradient ObjectImplements laya.d3.core.IClone Gradient 类用于创建颜色渐变。 Public Properties PropertyDefined By  colorAlp...

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

1112. laya.events.MouseManager [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...

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

1113. 加载-加载序列 [ 67%]

...aya { import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_Sequence { private numLoaded: number = 0; private resAmount: number = 3; constructor() { Laya.init(500, 400); // 按序列加载 monkey2.png - monkey1.png - monkey0.png // 不开启缓存 // 关闭并发加载 La...

来源: Laya_示例 发布时间: 20251209

1114. laya.physics.joint.MouseJoint [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseJointProperties | Methods Packagelaya.physics.jointClasspublic class MouseJointInheritanceMouseJoint JointBase Component Object 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向...

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

1115. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 67%]

...示这个img。我们新建个项目。代码如下所示: ```typescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Spri...

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

1116. 模仿教程里的打地鼠写的代码,运行报错 [ 67%]

...function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgroundUI);backgound.ui也在场景编辑器里编辑并导出了。   然后运行的时候就会出错如下图   求解答 附件 : --> 2018-01-29 添加...

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

1117. DragonBone动画使用(JavaScript-LayaAir基础篇(JS)-动画基础) [ 67%]

...打开链接查看:[https://layaair.ldc.layabox.com/api/?category=Bone&class=laya.ani.bone.Skeleton](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建 DragonBonesDemo.js,代码编写如下: ```java //初...

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

1118. laya.d3.physics.PhysicsCollider [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsColliderProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsColliderInheritancePhysicsCollider PhysicsTriggerComponent PhysicsComponent Component Object PhysicsCollider 类用于创建物理碰撞...

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

1119. laya.device.motion.Accelerator [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 liste...

来源: laya_api 发布时间: 20170929

1120. laya.media.SoundChannel_API3.0 [ 67%]

...xternals Only exported Menu Globals "laya/media/SoundChannel" SoundChannel Class SoundChannel SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停、...

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