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

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

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

...略若干代码 */ 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

682. laya.display.BitmapFont_API3.0 [ 40%]

...的资源。 Returns void Static loadFont loadFont(path: string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的路径。 complete: Hand...

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

683. laya.display.Animation_API3.0 [ 40%]

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

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

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

685. laya.ui.Component [ 39%]

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

来源: laya_api 发布时间: 20170929

686. laya.ui.Slider_API3.0 [ 39%]

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

687. laya.ui.ScrollBar_API3.0 [ 39%]

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

688. laya.ui.VSlider [ 39%]

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

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

689. laya.ui.UIGroup_API3.0 [ 39%]

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

690. laya.ui.UIGroup [ 39%]

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

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