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

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

121. laya.ui.List [ 95%]

... Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inher...

来源: laya_api 发布时间: 20170929

122. Laya3d下sprite 显示问题 [ 95%]

Laya3d下sprite 显示问题 相机中的rendertarget转换到图片中显示了 texture = camera.renderTarget as Texture; var sp:Sprite = new Sprite(); sp.x = 800; sp.graphics.drawTexture(texture,0,0,100,100); Laya.stage.addChild(sp); 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE ...

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

123. laya.d3.core.scene.Scene [ 95%]

...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: laya_api 发布时间: 20170929

124. Sprite loadImage 的时候出现多张图片同时显示 [ 95%]

Sprite loadImage 的时候出现多张图片同时显示 this.img.graphics.clear(); var imgUrl = (this.flag = !this.flag)? this.imgUrl1 :this.imgUrl2; this.img.loadImage(imgUrl,100,50); 简单的点击sprite切换图片,结果会出现两张图片同时显示的情况 附件 : --> 2018-04-04 添...

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

125. laya.d3.core.scene.Scene3D [ 95%]

...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...

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

126. 引擎基础概念 · LayaAir3.0文档 · LAYABOX [ 95%]

...类是可放在显示列表中的所有对象的基类,2D的基础精灵Sprite与3D的基础精灵Sprite3D都继承于Node,仅于此,所有继承于Node的子类或孙类,也可称为节点,例如:Sprite节点,Image节点。 只有继承于Node的子类或孙类的节点对象,才...

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

127. 克隆sprite [ 95%]

LayaAir引擎 克隆sprite 什么克隆一个对象啊?  在下面的“   tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) {             let tempSpr: Sprite = new Sprite();     ...

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

128. SimpleButton显示Sprite的 buttonMode 无效 [ 95%]

SimpleButton显示Sprite的 buttonMode 无效        AS3 中的 SimpleButton 使用后 LayaFlash 编译完显示,使用 AS3 中的 Sprite 仿写了一个根据状态切换背景图的按钮类,编译后 buttonMode 与 useHandCursor 属性均无效,显示手型光标。  ...

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

129. Sprite graphics的显示比例问题 [ 95%]

Sprite graphics的显示比例问题 function createCharacter(skin) { var character = new Laya.Sprite(); character.loadImage(skin, 0, 0, 200, 200, Laya.Handler.create(this, function () {console.log('KO!~'); })); character.graphics.drawLine(0, 200, 200, 0, "#ff0000", 1); character.graphics.drawLine(...

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

130. laya.ui.FontClip [ 95%]

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

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