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

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

261. 3D支持图集吗? [ 76%]

...ture: Laya.Texture = Laya.loader.getRes("magic/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture, 0, 0); Laya.stage.addChild(sp);   //3D加载图集 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(64, 64))) as Laya.MeshSprite3D; box.transform...

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

262. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 76%]

...ve); wx.onTouchEnd(onTouchEnd); wx.onTouchCancel(onTouchCancel);  var rankSprite2 = new Laya.Sprite(); rankSprite2.zOrder = 100; Laya.stage.addChild(rankSprite2); var texture = new Laya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRa...

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

263. laya.ui.Slider [ 75%]

... Events Packagelaya.uiClasspublic class SliderInheritanceSlider Component Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...

来源: laya_api 发布时间: 20170929

264. 浏览器和微信工具都截屏不了 [ 75%]

...行draw绘制并显示到舞台             var sp2 = new Laya.Sprite();             sp2.x = 300;             sp2.graphics.drawTexture(_texture,0,0,100,100);             Laya.stage.addChild(sp2); 2019-02-15 1 条评论 免费帖 --> 分享 微博 QZONE 微...

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

265. laya.ui.AsynDialog [ 75%]

...lasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打...

来源: laya_api 发布时间: 20170929

266. laya.ui.Panel [ 75%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

267. laya.display.AnimationBase_API3.0 [ 75%]

...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...

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

268. laya.ui.Component [ 75%]

...s | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preiniti...

来源: laya_api 发布时间: 20170929

269. laya.device.media.Video [ 75%]

...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...

来源: laya_api 发布时间: 20170929

270. laya.ui.Tree [ 75%]

... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929