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

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

191. laya.ui.Image [ 72%]

... Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其...

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

192. laya.display.AnimationBase [ 72%]

...Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有...

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

193. laya.ui.ComboBox [ 72%]

...nts Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

来源: laya_api 发布时间: 20170929

194. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 72%]

...泄漏。 用的引擎版本是1.7.16beta。package { import laya.display.Sprite; import laya.events.Event; import laya.maths.Point; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private ...

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

195. 2D物理-桥 [ 72%]

...teBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = new Laya.RigidBody(); groundBody.type = "static"; ground.addComponentIntance(groundBody); let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider...

来源: Laya2.0_示例 发布时间: 20240930

196. laya.ui.FontClip [ 72%]

...ckagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...

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

197. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 72%]

...(!this.cubeP){             this.cubeP = this.scene.addChild(new Laya.Sprite3D());             this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));             let rigidbody = this.cube.addComponent(Laya.Rigidbody3D);             rigid...

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

198. laya.ui.ProgressBar [ 72%]

...kagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

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

199. laya.ui.Button [ 72%]

... Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...

来源: laya_api 发布时间: 20170929

200. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 72%]

...Laya.Vector3(300, 500, 0); var translate = new Laya.Vector3(0, 0, 0); Laya.Sprite3D.load("res/LayaScene_gamescene/Conventional/chest01.lh", Laya.Handler.create(this, function(sp:Laya.Sprite3D):void { console.log("111111111111111111111") var target: Laya.Sprite3D = scene3d.addChil...

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