大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...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_示例 发布时间: 20251219
...截图给研发商 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
...e at 'file:///E:/layawork/myLaya12/bin/h5/war/background.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 加载本地文件总是报错, chrome 浏览器快捷方式有加 --allow-file-access-from-files 了,还是一样。...
来源: Laya_社区 发布时间: 20170830
...画的状态信息 */ playStateInfo: AnimatorPlayScriptInfo = { animator: null, layerindex: -1, playState: null }; setPlayScriptInfo(animator: Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState2D) { this.playStateInfo.animator = animator; this.playStateInfo.layerindex = layerindex; t...
来源: Laya_社区 发布时间: 20251010