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

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

1081. laya.d3.math.Native.ConchVector4 [ 49%]

...向量的点积。 ConchVector4  equals(a:ConchVector4, b:ConchVector4):Boolean[static] 判断两个四维向量是否相等。 ConchVector4  fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 ConchVector4  length():Number 求四维向量的长度。 ConchVector4  lengthS...

来源: Laya2.0_api 发布时间: 20190513

1082. laya.d3.math.Vector4 [ 49%]

... 求两个四维向量的点积。 Vector4  equals(a:Vector4, b:Vector4):Boolean[static] 判断两个四维向量是否相等。 Vector4  forNativeElement(nativeElements:Float32Array = null):voidVector4  fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Vector4  length()...

来源: Laya2.0_api 发布时间: 20190513

1083. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 49%]

... ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 }, 500,Laya.Handler.create(this, this.callback))   2017-11-14 0 0 分享 微博 QZONE 微信 为什...

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

1084. 请问Laya如何使用第三方物理库 [ 49%]

... public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNON.World, OnDisable则移除, onUpdate里面根据CANNONBody的信息更新(this.owner as Laya.MeshSprite).transfrom.(最好用插...

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

1085. Layabox web 复制一段文字到剪贴板 [ 48%]

...ic static copy(str: string ,isAlertMsgId?:number ,isAlertMsgInfo?:string): boolean{         let re: boolean;         try {             let input = document.createElement("input");             input.value = str;             document.body.appendChild(input);            ...

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

1086. laya.d3.core.material.WaterPrimaryMaterial [ 48%]

...operties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial  horizonColor : Vector4 获取地平线颜色。 WaterPrimaryMaterial  mainTexture : BaseTexture ...

来源: Laya2.0_api 发布时间: 20190513

1087. 物理系统之约束(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 48%]

...- 设置当前约束可用或者不可用 ```typescript set enabled(value: Boolean) ``` - 设置约束连接的第一个刚体 ```typescript set ownBody(value:Rigidbody3D) ``` - 设置约束连接的第二个刚体 ```typescript set connectedBody(value:Rigidbody3D) ``` - 设置最大承受力,当刚...

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

1088. Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path [ 48%]

...ort.DataManager.getData (System.String lastname) LayaAir3D.exportResource (Boolean isDebug, Int32 Platformindex, System.String lastname) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:430) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:308) System.Reflection.MonoMethod.Invoke (System.Obje...

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

1089. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 48%]

...强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0到1。 `specularColor:Vector4` 高光颜色。 `specularT...

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

1090. laya.d3.physicscannon.shape.CannonColliderShape_API3.0 [ 48%]

...hape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:107 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:12 形状方向_X轴...

来源: Laya3.0_api 发布时间: 20231102