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

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

1041. js调用android的java代码失败。NoSuchMethodException [ 65%]

...ge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os == "Conch-ios") { bridge = PlatformClass.createClass("JSBridge")//创建脚步代理 } else if (os == "Conch-android") { //需要...

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

1042. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 65%]

...Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); }  onAssetsLoaded(settings) {         // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源         // let settings = Laya.loader.ge...

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

1043. laya.ui.Image_API3.0 [ 65%]

... updateZOrder fromImage Constructors constructor new Image(skin?: string | null): Image Overrides UIComponent.constructor Defined in laya/ui/Image.ts:98 创建一个 Image 实例。 Parameters Default value skin: string | null = null 皮肤资源地址。 Returns Image Properties Optional _extra _ex...

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

1044. 鼠标交互-双指缩放(多点触控) [ 64%]

...ent.MOUSE_DOWN, this, onMouseDown); } private function onMouseDown(e:Event=null):void { var touches:Array = e.touches; if(touches && touches.length == 2) { lastDistance = getDistance(touches); Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); } } private function onMouseMove(e:Event=null):void { v...

来源: Laya_示例 发布时间: 20260303

1045. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...理信息对象 //接口 getTextureInfo(textureId: number): TextureInfo | null 获取指定纹理在图集中的详细信息。 参数说明: textureId:纹理的 ID。 返回值:TextureInfo 对象或 null(如果不存在)。 TextureInfo 包含的信息: source:原始 Texture2D 对象 t...

来源: Laya3.0_文档 发布时间: 20260131

1046. 粒子编辑器黑屏 [ 64%]

...截图给研发商 Uncaught TypeError: Cannot read property 'addChild' of null TypeError: Cannot read property 'addChild' of null     at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27)     at ParticleScene.__pro...

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

1047. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 64%]

...建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:46 获得空间节点 Ret...

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

1048. laya.d3.core.pixelLine.PixelLineMaterial [ 64%]

...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url...

来源: Laya2.0_api 发布时间: 20190513

1049. 物体随着鼠标滑动旋转脚本 [ 64%]

...     this.rotaionSpeed = 0.00006;      this.mainCameraAnimation = null;     this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script);  //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) {     var _this = this;     ObjectR...

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

1050. laya.d3.shader.Shader3D [ 64%]

...activeShader : BaseShader[static] BaseShader  _attributeParams : Array = nullShader3D  _attributeParamsMap : ArrayShader3D bindShader : BaseShader[static] BaseShader  _cameraUniformParamsMap : ArrayShader3D  _id : intShader3D  _includeFiles : *[static] Shader3D  _materialUniformParamsMa...

来源: laya_api 发布时间: 20170929