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

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

91. laya.ui.TextInput_API3.0 [ 79%]

...性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width = 300;//设置 textInput 的宽度。 textInput.height = 200;//设置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布...

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

92. laya.ui.TextArea_API3.0 [ 79%]

...属性 y 的值,用于控制 textArea 对象的显示位置。 textArea.width = 300;//设置 textArea 的宽度。 textArea.height = 200;//设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高...

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

93. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 78%]

...area.w; this._doll_area.h = doll_area.h; }  // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w );  this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h;  this.graphics.drawRect( 0, 0, this.width, this.height, null, "#ff00...

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

94. laya.ui.Radio_API3.0 [ 78%]

...Prior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

95. laya.ui.CheckBox_API3.0 [ 78%]

...Prior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

96. CommandBuffer · LayaAir3.0文档 · LAYABOX [ 78%]

...的RenderTexture var renderTexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); this.texture = renderTexture; //将当前渲染的结果拷贝到创建好的RenderTexture buf.blitScreenTriangle(null,renderTextur...

来源: Laya3.0_文档 发布时间: 20230303

97. laya.ui.Button_API3.0 [ 78%]

...Prior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

98. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 78%]

...据计算得到AStar网格 */ createGridFromAStarMap(texture) { var textureWidth = texture.width; var textureHeight = texture.height; //读取图片像素 var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; //像素值黑色不可通行,白色部分可以通行 for (var w = ...

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

99. laya.display.Text_API3.0 [ 78%]

...对象的属性 y 的值,用于控制 text 对象的显示位置。 text.width = 300;//设置 text 的宽度。 text.height = 200;//设置 text 的高度。 text.italic = true;//设置 text 的文本显示斜体。 text.borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.a...

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

100. 如何实现聊天图文混排的聊天 气泡背景效果? [ 78%]

...ml里是这样写的 <span>右边</span>     <div style="width:422px;">         <img style= " display:inline;  float:right; " src="Face/img_duihua_qipao_green_01.png "></img>                  <div style="background:url(Face/img_duihua_qipao_gree...

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