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

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

1121. laya.display.Animation_API3.0 [ 38%]

...{ import laya.display.Animation; import laya.net.Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始...

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

1122. laya.ani.bone.Skeleton [ 38%]

...型是否是鼠标事件。 EventDispatcher  load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Skeleton loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改...

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

1123. laya.ui.Slider [ 38%]

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

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

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

... (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

1125. 一篇上手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

1126. laya.ui.ScrollBar_API3.0 [ 37%]

...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

1127. laya.ui.Slider_API3.0 [ 37%]

...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

1128. laya.ui.UIGroup_API3.0 [ 37%]

...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

1129. 微信小游戏运行导出项目的时候报错: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

1130. laya.ui.Component [ 36%]

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

来源: laya_api 发布时间: 20170929