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

大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0040 秒)

1111. 3D粒子特效初始化卡顿 [ 45%]

...地图变化时自动销毁 * **/ 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

1112. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 45%]

...,则销毁子节点,否则不销毁子节点。 */ 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

1113. 2.0下资源加载和销毁内存问题 [ 45%]

...这里需要先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

1114. laya.d3.renderobjs.renderobj.RenderContext3DOBJ_API3.0 [ 45%]

... 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

1115. laya.d3.math.Vector3 [ 45%]

... 求两个三维向量的点积。 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

1116. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 45%]

...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

1117. 人物行走图动画 [ 44%]

...集内小图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

1118. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 44%]

...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

1119. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 44%]

...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...

来源: Laya2.0_文档 发布时间: 20210715

1120. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 44%]

...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...

来源: Laya2.0_文档 发布时间: 20210714