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

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

971. 导出的3D资源加载报错 [ 50%]

...laya.events.Event;     import laya.utils.Stat;          public class LayaSample {                  private var _stateMachine:StateMachine;         public function LayaSample()         {             Laya3D.init(1000, 500,true); //适配模式 La...

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

972. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 50%]

...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont";   class Text_BitmapFont { constructor() { const  Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat;   // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...

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

973. 自定义shader-地形shader [ 50%]

...HTMAP = customTerrainCompile3D.registerMaterialDefine("CUSTOM_LIGHTMAP"); }class Shader_Terrain { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.initShader(); var scene: Laya.Scene = Laya.s...

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

974. List中放TextInput,当list滚动的时候,复用会有问题,input中的内容会乱,尤其有输入框focus的情况下 [ 50%]

...); // this.setImg = function(src) // { // this.img.skin = src; // } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya.List; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, Web...

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

975. laya.ui.VBox [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hi...

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

976. laya.ui.Panel_API3.0 [ 50%]

...d All Inherited Externals Only exported Menu Globals "laya/ui/Panel" Panel Class Panel Panel 是一个面板容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isH...

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

977. laya.physics.PhysicsDebugDraw_API3.0 [ 50%]

...nly exported Menu Globals "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl ...

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

978. laya.ui.HBox [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hi...

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

979. laya.ui.AutoBitmap_API3.0 [ 50%]

...rited Externals Only exported Menu Globals "laya/ui/AutoBitmap" AutoBitmap Class AutoBitmap AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Pro...

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

980. laya.ui.TextInput [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示...

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