大约有 207 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
...:Object = Browser.window.CANNON; world = new CANNON.World(); world.gravity.set(0, 0, -9.8); // 设置碰撞检测类型 world.broadphase = new CANNON.NaiveBroadphase(); var groundShape:Object = new CANNON.Plane(); var groundBody:Object = new CANNON.Body({mass: 0, shape: groundShape}); world.add(grou...
来源: Laya_社区 发布时间: 20170417
...laya/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture WebXRRenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately lock name url uuid...
来源: Laya3.0_api 发布时间: 20231115
...k function discard property,please use transform's property instead Cannot set property text of #<Button> which has only a getter XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 问题状态 最新活动: 2018-07-09 16:04 浏览: 4...
来源: Laya_社区 发布时间: 20180709
...ence _clearReference _createRenderTarget _end _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constr...
来源: Laya3.0_api 发布时间: 20231102
...ls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: `Laya.init(0,0);//初始化引擎`;设置尺寸为0,因为...
来源: Laya2.0_文档 发布时间: 20210715
...ive gpuMemory Methods _addReference _clearReference _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedRe...
来源: Laya3.0_api 发布时间: 20231115
...ties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedIn...
来源: Laya3.0_api 发布时间: 20231102
...ence _clearReference _createRenderTarget _end _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once protected recreate clearPool createFromPool destroyUnusedResources recoverToP...
来源: Laya3.0_api 发布时间: 20231102
...ls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: Laya.init(0,0);//初始化引擎;设置尺寸为0...
来源: Laya3.0_文档 发布时间: 20251010
...ties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed di...
来源: Laya3.0_api 发布时间: 20231115