大约有 1,163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(314) Laya_社区(299) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(34) Laya2.0_示例(3)
...efined By RotationOverLifetime(angularVelocity:GradientAngularVelocity) 创建一个 RotationOverLifetime,不允许new,请使用静态创建函数。 实例。 RotationOverLifetime clone():* 克隆。 RotationOverLifetime cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty D...
来源: laya_api 发布时间: 20170929
...efined By RotationOverLifetime(angularVelocity:GradientAngularVelocity) 创建一个 RotationOverLifetime,不允许new,请使用静态创建函数。 实例。 RotationOverLifetime clone():* 克隆。 RotationOverLifetime cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty D...
来源: Laya2.0_api 发布时间: 20190513
...null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this ...
来源: Laya2.0_api 发布时间: 20190513
JS中利用New创建出来的对象和相应内存,如何主动去释放? var Karaok = (function(){ function Karaok(){ var mm=1; } return Karaok; })(layaUI); (function(LayaSample){ (function(){ Laya.init(640,1027); Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(...
来源: Laya_社区 发布时间: 20170223
...or, AttachPoint, Collider, KeyframeAnimations, Script Component3D 类用于创建组件的父类。 Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一...
来源: laya_api 发布时间: 20170929
...heritanceSky laya.resource.ResourceSubclasses SkyBox, SkyDome Sky 类用于创建天空的父类,抽象类不允许实例。 Public Properties PropertyDefined By alphaBlending : Number 获取透明混合度。 Sky colorIntensity : Number 获取颜色强度。 Sky envDiffuseSHBlue : Float...
来源: laya_api 发布时间: 20170929
我来改代码! 你来告诉我怎么改? 用计时器创建10个动画, 这么简单的逻辑有问题吗? 一个项目里这种逻辑会少吗? 我愚钝, 我不会写, 你来写给不报错的版本版本我看看. 2018-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180908
...Public Methods MethodDefined By MeshRenderer(owner:RenderableSprite3D) 创建一个新的 MeshRender 实例。 MeshRenderer _destroy():void[override] MeshRenderer _needRender(boundFrustum:BoundFrustum):Boolean[override] MeshRenderer _renderUpdate(context:RenderContext3D, transform:Trans...
来源: Laya2.0_api 发布时间: 20190513
...的代码, 修改 Laya.timer.frameLoop(1, this, this.timeHandelr); 一帧创建一个动画, 这个需求不过分吧? 附件 : --> 2018-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20180908
...过Tween.from()方法,实现“LayaBox”字符的文本缓动动画。 创建TweenDemo.js类,代码编写如下: ```javascript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBo...
来源: Laya2.0_文档 发布时间: 20210715