• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

551. UNITY导出的模型旋转不了 [ 67%]

...享 微博 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

552. 运行DEMO错误 [ 67%]

...戏3D示例 运行出现 一下错误。 Buffer._gl.createBuffer is not a function WebGL.mainContext.viewport is not a function 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...

来源: Laya_社区 发布时间: 20180611

553. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 67%]

...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

554. laya.d3.resource.models.PrimitiveMesh_API3.0 [ 67%]

...ylinder createPlane createQuad createSphere Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

来源: Laya3.0_api 发布时间: 20231115

555. Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [ 67%]

...加载管理器,使用时注意大小写。 */ //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

556. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 67%]

....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

557. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 67%]

...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

558. image.skin = base64 无效 [ 67%]

...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

559. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 67%]

...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

560. 模拟鼠标事件 [ 67%]

...例如: 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