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

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

231. laya.ui.TextArea [ 50%]

...iClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

232. laya.ui.TextArea [ 50%]

....uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示...

来源: laya_api 发布时间: 20170929

233. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 50%]

... and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture will be flipped vertical. Default is false. * @param clearColor Optional. If provided, the texture will be cleared to this color b...

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

234. js环境下使用Loader加载图片在Sprite对象.on函数无效 [ 50%]

js环境下使用Loader加载图片在Sprite对象.on函数无效 js环境下使用Loader加载图片在Sprite对象.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触...

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

235. 位图字体制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 49%]

...建一个场景页(导出类型为分离模式),并为该场景添加Sprite空节点,并var命名bf。然后保存并F12导出。如下图所示。 ![img](img/21.png) 第二步,选中Scene场景,创建一个空类,按下图所示,将该类拖入到场景runtime属性栏上,然...

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

236. 视频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....

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

237. Maximum call stack size exceeded [ 48%]

...er (laya.core.js:1027)     at new Node (laya.core.js:13292)     at new Sprite (laya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     at Function.getCompInstance (laya.core.js:21214)     at Function.createComp (laya.core.js:21081)     at Functio...

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

238. laya.ui.FontClip [ 48%]

...ckagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...

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

239. HTMLCanvas Laya.stage.addChild(HTMLCanvas); 挂载到舞台报错 [ 47%]

...ron 赞同来自: /**          * <p>绘制 当前<code>Sprite</code> 到 <code>Canvas</code> 上,并返回一个HtmlCanvas。</p>          * <p>绘制结果可以当作图片源,再次绘制到其他Sprite里面,示例:</p> ...

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

240. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标竖直高度参数 public distanceAway: number = 10;//相机与目标水平距离参数 public smo...

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