大约有 372 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)
Laya_社区(116) Laya2.0_文档(64) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(20) Laya2.0_示例(1)
...例化此类,因为有些方法需要由子类实现。 AnimationBase addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...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
...lor = "#ffffff"; letter.font = "Impact"; letter.fontSize = 180; Laya.stage.addChild(letter); return letter; } } new TweenDemo(); ``` 代码运行时,由于update回调是每一帧都在执行,所以在缓动的过程中,有一种闪光字的效果。如动图8所示。  ...
来源: Laya2.0_文档 发布时间: 20210715
...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
...离,代码如下: ```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
...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
...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
...离,代码如下: ```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
...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
...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