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

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

1151. 微信小游戏中不能加载proto文件 [ 37%]

... (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded);  function onAssetsL...

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

1152. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 37%]

...略若干代码 */ Laya.Scene3D.load("Conventional/SampleScene.ls", Laya.Handler.create(null, function (_Scene3D: Laya.Scene3D) { //添加3D场景到舞台 Laya.stage.addChild(_Scene3D); let _camera = _Scene3D.getChildByName("Main Camera") as Laya.Camera; _camera.clearFlag = Laya.CameraClearFlags.Sk...

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

1153. laya.ui.ScrollBar_API3.0 [ 36%]

...nGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx...

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

1154. laya.ui.Slider_API3.0 [ 36%]

...tor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY compo...

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

1155. laya.ui.UIGroup_API3.0 [ 36%]

...ics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disable...

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

1156. laya.ui.Component [ 36%]

... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component  top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象...

来源: laya_api 发布时间: 20170929

1157. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 36%]

...Info.onLoaded (http://127.0.0.1:59022/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.js:131...

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

1158. laya.d3.core.scene.Scene3D [ 36%]

...型是否是鼠标事件。 EventDispatcher  load(url:String, complete:Handler):void[static] 加载场景,注意:不缓存。 Scene3D loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调...

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

1159. laya.ui.VSlider [ 36%]

...直方向中心线的距离(以像素为单位)。 UIComponent changeHandler : Handler 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 Slider customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,...

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

1160. laya.ui.UIGroup [ 35%]

... : int 表示当前选择的项索引。默认值为-1。 UIGroup  selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup  selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾...

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