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

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

231. laya.display.AnimationBase [ 71%]

...例化此类,因为有些方法需要由子类实现。 AnimationBase addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

232. Laya.Sprite loadImage 参数问题 [ 71%]

...ite{ var Img:Laya.Sprite = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(Img); //加载显示图片 Img.loadImage("res/img/monkey1.png", w, h);//报错 return Img; } /**创建红色滤镜位图**/ private creteRedFilter():void{ //颜色滤镜矩阵,红色 var colorMatrix:any = [ 1, 0, 0...

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

233. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 71%]

...lor = "#ffffff"; letter.font = "Impact"; letter.fontSize = 180; Laya.stage.addChild(letter); return letter; } } new TweenDemo(); ``` 代码运行时,由于update回调是每一帧都在执行,所以在缓动的过程中,有一种闪光字的效果。如动图8所示。 ![动图8](img/8.gif) ...

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

234. laya.ui.FontClip [ 71%]

...dDefined By  FontClip(skin:String = null, sheet:String = null) FontClip addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

235. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 71%]

...离,代码如下: ```typescript //创建场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new L...

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

236. laya.ui.TextArea [ 71%]

...y  TextArea(text:String) 创建一个新的 TextArea 示例。 TextArea addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

237. laya.ani.bone.Skeleton [ 71%]

...plet:Templet = null, aniMode:int = 0) 创建一个Skeleton对象 Skeleton addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Funct...

来源: laya_api 发布时间: 20170929

238. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 71%]

...离,代码如下: ```typescript //创建场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new L...

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

239. laya.ui.Slider_API3.0 [ 71%]

...wport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

240. laya.ui.UIComponent_API3.0 [ 70%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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