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

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

781. [Laya2.0beta3] 3d模型克隆后 都不显示了 [ 69%]

...克隆sprite3d layaMonkey_clone1 = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克隆sprite3d layaMonkey_clone2 = scene.addChild(Sprite3D.instantiate(layaMonkey, null, false, new Vector3( -0.6, 0, 0))) as Sprite3D; 上图两种 克隆方式 2018-10-18 1 2 分享 微博 ...

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

782. laya.ui.ColorPicker_API3.0 [ 69%]

...hangeHandler = laya.utils.Handler.create(this, onChangeColor,[colorPicket],false);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } function onChangeColor(colorPicket) { console.log("当前选择的颜色: " +...

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

783. laya.ui.OpenDataContextView_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

784. laya.ui.Panel_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

785. laya.ui.LayoutBox_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

786. 分享问题解决,关键词:canvas不在左上角,鼠标点击位置偏移怎么办 [ 68%]

...nitEvent(e, nativeEvent = null) { var _this = this; _this._event._stoped = false; _this._event.nativeEvent = nativeEvent || e; _this._target = null; var docElem = document.documentElement var win = document.defaultView var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.p...

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

787. laya.ui.TipManager_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

788. laya.display.Animation_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

789. RenderTarget2D的create方法 [ 68%]

...YTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = -1):RenderTarget2D {             var t:RenderTarget2D = POOL.pop();             t || (t = new RenderTarget2D(w, h));              ...

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

790. TS项目,index.html 里面的js代码如何调用项目里面的函数,window.addEventListener 在ts项目里面该怎么写 [ 68%]

...        //分享成功之后这个参数是true         }, false);     </script>   window.addEventListener 在ts项目里面该怎么写  是直接这样写,还是这样写: Laya.Browser.window.addEventListener('message', function(e) {                 ...

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