大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(429) Laya_社区(250) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(26) Laya2.0_示例(6) Laya_示例(6)
...是否开启调试模式。 */ public static var debugMode:Boolean = false; 设置为true, /** * 通过宏定义预编译shader。 * @param spriteIntToNameDic 精灵宏定义数组。 * @param publicDef...
来源: Laya_社区 发布时间: 20180620
...- 设置当前约束可用或者不可用 ```typescript set enabled(value: boolean) ``` - 设置约束连接的第一个刚体 ```typescript set ownBody(value:Rigidbody3D) ``` - 设置约束连接的第二个刚体 ```typescript set connectedBody(value:Rigidbody3D) ``` - 设置最大承受力,当刚...
来源: Laya2.0_文档 发布时间: 20210715
...yChildren(); this.aniBody.clear(); let loopPlay: boolean = true; let key: string = actionName + "_" + Math.abs(direction); this.aniBody.play(0, loopPlay, key); var bound: Laya.Rectangle = this.aniBody.getBounds(); this.aniBody...
来源: Laya_社区 发布时间: 20170615
...创建一个 BoxShape 实例。 Returns BoxShape Properties enable enable: boolean = true Inherited from BaseShape.enable Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:26 是否启用。 randomDirection randomDirection: number = 0 Inherited from BaseShape.randomDirection Defined...
来源: Laya3.0_api 发布时间: 20231115
...向量的点积。 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
...operties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial horizonColor : Vector4 获取地平线颜色。 WaterPrimaryMaterial mainTexture : BaseTexture ...
来源: Laya2.0_api 发布时间: 20190513
...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