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

大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)

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

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

1123. 人物行走图动画 [ 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

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

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

1126. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 44%]

...除非不接受鼠标事件或设置不可点击区域。 */ mouseThrough: boolean = false;* 当设置纹理资源之后,这个属性设置无效了,可以设置不接收鼠标事件或者设置不可点击区域来处理 2、对应到demo中,将node2的子节点0的texture去掉之后就点...

来源: Laya_社区 发布时间: 20250825

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

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

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

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

1129. 2.0版本可用的CameraMoveScript.ts [ 44%]

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

1130. 分享个资源加载的方法,类似白鹭的加载方式 [ 44%]

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