大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
... 求两个三维向量的点积。 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
...除非不接受鼠标事件或设置不可点击区域。 */ mouseThrough: boolean = false;* 当设置纹理资源之后,这个属性设置无效了,可以设置不接收鼠标事件或者设置不可点击区域来处理 2、对应到demo中,将node2的子节点0的texture去掉之后就点...
来源: Laya_社区 发布时间: 20250825
...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...
来源: Laya2.0_文档 发布时间: 20210714
...的属性和方法: > 方法 `lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void` 观察目标位置。 > 属性 `localPosition:Vector3` 局部位置。 `localScale:Vector3` 缩放。 `localMatrix:Matrix4x4` 局部矩阵。 `position:Vector3` 世界位置。 `localRotation:Quaternion...
来源: Laya2.0_文档 发布时间: 20210715
...Y: Laya.Quaternion = new Laya.Quaternion(); protected isMouseDown: boolean; protected rotaionSpeed: number = 0.00006; protected camera: Laya.BaseCamera; protected scene: Laya.Scene3D; constructor() { super(); } /** ...
来源: Laya_社区 发布时间: 20200707
... isAtLas 是否是图集 */ public static getRes(resName:string, isAtLas: boolean = false): any{ var url: string; if(!isAtLas){ for(var j in RES.resources){ if(RES.resources[j].name == resName){ url = RES.resources[j].url; break; } } }else{ url = resName; } var src = Laya.Loader.getRes(url); return ...
来源: Laya_社区 发布时间: 20161011