大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
...享 微博 QZONE 微信 GameMonkey 赞同来自: 补充下主要的代码(function(global){ var Laya3D = global.Laya3D; var Laya = global.Laya; Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res...
来源: Laya_社区 发布时间: 20200611
...戏3D示例 运行出现 一下错误。 Buffer._gl.createBuffer is not a function WebGL.mainContext.viewport is not a function 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...
来源: Laya_社区 发布时间: 20180611
...ew=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene { public scoreLbl:Laya.Label; public tipLbll:Laya.Label; constructor(){ super()} createC...
来源: Laya_社区 发布时间: 20190402
...ylinder createPlane createQuad createSphere Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...加载管理器,使用时注意大小写。 */ //class Laya var ___Laya=(function(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTi...
来源: Laya_社区 发布时间: 20200426
....num("1"); LayaSample.bb = new Child(); LayaSample.bb.num("2"); setTimeout(function () { LayaSample.aa.shuchu();//输出这个组件num,结果为2,是LayaSample.bb的num }, 1000);已经排除了定时器的原因 2018-07-29 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180729
...emo一模一样。。。 // 这段代码需要在setupDemo之前执行。 (function() { // 项渲染器 var Box = Laya.Box; var Image = Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); t...
来源: Laya_社区 发布时间: 20180731
...ya.ui.Image; /** * ... * @author ww */ public class TestBase64Img { public function TestBase64Img() { Laya.init(1000, 900); testDraw(); } public function testDraw():void { var sp:Sprite; sp = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#ff0000"); Laya.stage.addChild(sp); sp.pos(100, 100); dr...
来源: Laya_社区 发布时间: 20170417
...dScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. at TextureCube.__proto._createWebGlTextu...
来源: Laya_社区 发布时间: 20180307
...例如: package { import laya.events.Event; public class Main { public function Main() { //初始化引擎 Laya.init(600,400); //手动调stage的click事件 this.onClick(); //给stage监听点击事件 Laya.stage.on(Event.CLICK,this,onClick); } private function onClick():void { trace("test!"); } ...
来源: Laya_社区 发布时间: 20170607