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

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

381. laya.ui.VBox_API3.0 [ 65%]

...rarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor ble...

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

382. Mesh网格-网格加载 [ 65%]

...3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.graphics.IndexBuffer3D; import laya.d3.graphics.VertexBuffer3D; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.models.Mesh; import laya.display.Stage; import ...

来源: Laya_示例 发布时间: 20240930

383. laya.ui.HBox_API3.0 [ 65%]

...rarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bott...

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

384. 鼠标交互-双指旋转(多点触控) [ 65%]

...00, h = 300; this.sp = new Sprite(); Laya.stage.addChild(this.sp); this.sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); this.sp.size(w, h); this.sp.pivot(w / 2, h / 2); this.sp.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.sp.on(Event.MOUSE_DOWN, this, this.onMouseDown); } onMouseDown(e) { con...

来源: Laya2.0_示例 发布时间: 20240930

385. laya.device.media.Video_API3.0 [ 65%]

...ierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered ca...

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

386. laya.ui.Dialog_API3.0 [ 65%]

...Hierarchy View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES dr...

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

387. 版本号:2.0.2 beta, 在sound文件夹下音乐播放不了,放入到res文件夹下可播放 [ 65%]

...umber = 40;  var button: Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; }  //private musicString:string = "./sounds/心跳的证明...

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

388. laya.ui.List_API3.0 [ 65%]

...x; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_sup...

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

389. laya.display.Stage_API3.0 [ 64%]

...ierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIG...

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

390. laya.ui.ColorPicker_API3.0 [ 64%]

...Component ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom ...

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