大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
...向量的点积。 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
... 求两个四维向量的点积。 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
... 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
... 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
...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
...operties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial horizonColor : Vector4 获取地平线颜色。 WaterPrimaryMaterial mainTexture : BaseTexture ...
来源: Laya2.0_api 发布时间: 20190513
...- 设置当前约束可用或者不可用 ```typescript set enabled(value: Boolean) ``` - 设置约束连接的第一个刚体 ```typescript set ownBody(value:Rigidbody3D) ``` - 设置约束连接的第二个刚体 ```typescript set connectedBody(value:Rigidbody3D) ``` - 设置最大承受力,当刚...
来源: Laya2.0_文档 发布时间: 20210714
...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
...强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0到1。 `specularColor:Vector4` 高光颜色。 `specularT...
来源: Laya2.0_文档 发布时间: 20210715
...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