大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(429) Laya_社区(250) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(26) Laya2.0_示例(6) Laya_示例(6)
...地图变化时自动销毁 * **/ public function Load(url:String,isGroup:Boolean):void { _path = UrlConfig.EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:String = null; if(isGroup == true){ groupName...
来源: Laya_社区 发布时间: 20180425
...,则销毁子节点,否则不销毁子节点。 */ destroy(destroyChild: boolean = true): void { this.destroyed = true; this._destroyAllComponent(); this._parent && this._parent.removeChild(this); //销毁子节点 if (this._children) { if (destroyChild) this.destroyChildren(); else this...
来源: Laya_社区 发布时间: 20220224
...这里需要先import bitmapimg from "./script/bitmapimg "; private flag:boolean = false; private bt:bitmapimg; private oldurl:string="" /**此处省略btn创建*/ private onClick():void { if(this.flag==false){ let url:string="test2/1.png" ...
来源: Laya_社区 发布时间: 20181201
... in laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ.ts:33 invertY invertY: boolean = false Implementation of IRenderContext3D.invertY Defined in laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ.ts:19 pipelineMode pipelineMode: PipelineMode Implementation of IRenderContext3D.pipelineMode Defined in la...
来源: Laya3.0_api 发布时间: 20231115
... 求两个三维向量的点积。 Vector3 equals(a:Vector3, b:Vector3):Boolean[static] 判断两个三维向量是否相等。 Vector3 forNativeElement(nativeElements:Float32Array = null):voidVector3 fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Vector3 lerp(a:V...
来源: Laya2.0_api 发布时间: 20190513
...hape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColli...
来源: Laya3.0_api 发布时间: 20231115
...集内小图Texture)。 load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); 这里的load只有三个参数,而事实上用到4个,不清楚。。。 还有ani.inde...
来源: Laya_社区 发布时间: 20160712
...hape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallback Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:107 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from Can...
来源: Laya3.0_api 发布时间: 20231102
...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...
来源: Laya2.0_文档 发布时间: 20210715
...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...
来源: Laya2.0_文档 发布时间: 20210714