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

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

561. 物理引擎显示旋转问题 [ 41%]

...     Laya.stage.scaleMode = "fixedwidth";         Laya.stage.bgColor = '#000';         setup();     })();     function setup() {         initMatter();         initWorld();         Laya.stage.on("resize", this, onResize);     }     function...

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

562. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 41%]

...Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var list: List = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - I...

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

563. 区块地图-滚动地图 [ 40%]

...Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Event.MOUSE_UP, this, this.mouseUp); Stat.show(); } // 创建地图 createMap() { const TiledMap = Laya.TiledMap, Rec...

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

564. laya.ui.ScaleBox_API3.0 [ 40%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

565. laya.display.Text_API3.0 [ 40%]

...aya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; ...

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

566. laya.ui.ColorPicker_API3.0 [ 39%]

...r_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); ...

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

567. laya.ui.Panel_API3.0 [ 39%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalSca...

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

568. laya.ui.LayoutBox_API3.0 [ 39%]

...HeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

569. laya.ui.ViewStack_API3.0 [ 39%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

570. laya.ui.VBox_API3.0 [ 39%]

...HeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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