大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
...ate var liveGraphics:Graphics; private var canvasGraphics:Graphics; public function PIXI_Example_21() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#3da8bb"; createCanvases(); Laya.timer.frameLoop(1, this, animate); Laya.stage.on('mousedown', this, onMouseDown); Laya.stage...
来源: Laya2.0_示例 发布时间: 20260818
...RESIZE, this, fitDOMElements, [emailInput, birthdayInput, passwordInput]); function showLabel(label,x,y){ var t = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } function createInputElement(){ ...
来源: Laya_示例 发布时间: 20260818
... 2 个回复 fftidus 赞同来自: Uncaught TypeError: arr.shift is not a function 2017-11-21 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: LayaAir下的Array就是原生的Array,你可以直接去看下原生的API 2017-11-21 0 0 分享 微博 QZONE 微信 为什么被折叠?...
来源: Laya_社区 发布时间: 20171121
....load(aniArr, Handler.create(this, onAni), null, Loader.ATLAS); private function onAni():void { var role:SimpleRole = new SimpleRole(); Laya.stage.addChild(role); } SimpleRole类: public function SimpleRole() { roleAni = new Animation(); roleAni.loadAnimation...
来源: Laya_社区 发布时间: 20170619
...apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the approved app, including through the use of HTML5. Apps that provide core features and f...
来源: Laya_社区 发布时间: 20190909
...xture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` (图4) ##### 法线贴图 **Normal maps(法线贴图)**是一个灰度图,可以将...
来源: Laya2.0_文档 发布时间: 20210714
...e.lh")) as Sprite3D; layaScene.once(Event.HIERARCHY_LOADED, this, function():void{ var meshSprite:Sprite3D=layaScene.getChildAt(0) as Sprite3D; var animator:Animator = meshSprite.addComponent(Animator) as Animator; var clip:AnimationClip=AnimationClip.load("res/La...
来源: Laya_社区 发布时间: 20180208
...6 0 0 分享 微博 QZONE 微信 variation8 赞同来自: _proto.connect = function() { socket = new Socket(); //socket.connect("echo.websocket.org", 80); socket.connectByUrl("ws://127.0.0.1:8383"); output = socket.output; ...
来源: Laya_社区 发布时间: 20171206
Sprite optimizeScrollRect = true 似乎有问题 this.initMask = function () { this.mask = new Sprite(); this.mask.width = this.width; this.mask.height = this.height; this.mask.scrollRect = new Rectangle(); this.mask.scrollRect.setTo(0, 0, this.width, this.height); this.mask.optimizeScrollRect = tr...
来源: Laya_社区 发布时间: 20161118
...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714