大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...化.请问是什么原因造成的.该如何统一? 测试代码: public function LayaSample() { //初始化引擎 Laya.init(1280, 720,WebGL); Laya.stage.bgColor = "#FFF"; var demo:demoUI = new demoUI(); Laya.stage.addChild(demo); var demoLable1:Label = new Label(); demoLable1.text = "一二三四...
来源: Laya_社区 发布时间: 20180530
...RandomTwoConstant createByRandomTwoGradient Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...实现了,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传...
来源: Laya_社区 发布时间: 20190624
... 没想到是getCell的问题 我看API裡写 getCell () method public function getCell(index:int):Box 通过可视单元格索引,获取单元格。 是不是就是指,只能获取可视的单元格 有没有获取可视外单元格的办法 2017-08-28 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170828
...teWebGL.as文件中,可以看到,在下边的方法 public override function addParticleArray(position:Float32Array, velocity:Float32Array):void { 中,把所有的参数放到一个数组中: var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _...
来源: Laya_社区 发布时间: 20190416
在使用资源版本控制时,URL.formatURL中有个bug public static function formatURL(url:String, base:String = null):String { if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat !=...
来源: Laya_社区 发布时间: 20171213
... 2018-03-07 0 1 分享 微博 QZONE 微信 bepa_wang 赞同来自: public function MainView() { super(); mainCan = new Sprite(); Laya.stage.addChild(mainCan); ...
来源: Laya_社区 发布时间: 20180306
...t; import common.CameraMoveScript; public class Laya3DCombineHtml { public function Laya3DCombineHtml() { __JS__("var div = document.createElement('div')"); __JS__("div.innerHTML = '此内容来源于HTML网页, 可直接在html代码中书写 - h1标签'"); __JS__("document.body.appendChild(div)");...
来源: Laya_示例 发布时间: 20260106
...alue isLocal: boolean = false Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Overrides EventDispatcher.off Defined in laya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:559 Parameters type: str...
来源: Laya3.0_api 发布时间: 20231115