大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...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
...Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 // let settings = Laya.loader.ge...
来源: Laya_社区 发布时间: 20190704
... 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
...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
...理信息对象 //接口 getTextureInfo(textureId: number): TextureInfo | null 获取指定纹理在图集中的详细信息。 参数说明: textureId:纹理的 ID。 返回值:TextureInfo 对象或 null(如果不存在)。 TextureInfo 包含的信息: source:原始 Texture2D 对象 t...
来源: Laya3.0_文档 发布时间: 20260131
...截图给研发商 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
...建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
...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
... 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
...activeShader : BaseShader[static] BaseShader _attributeParams : Array = nullShader3D _attributeParamsMap : ArrayShader3D bindShader : BaseShader[static] BaseShader _cameraUniformParamsMap : ArrayShader3D _id : intShader3D _includeFiles : *[static] Shader3D _materialUniformParamsMa...
来源: laya_api 发布时间: 20170929