大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
...对象。 * @return 是否成功移除。 */ public function remove(key:*):Boolean { var index:int = indexOf(key); if (index >= 0) { _keys.splice(index, 1); _values.splice(index, 1); _lenght != 0 && --_lenght; return true; } return false; } /** * 清除此对象的键名列表和键值列...
来源: Laya_社区 发布时间: 20180619
...eLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void { _create(true, true, delay, caller, method, args, coverBefore); } 2018-04-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20180409
...类型,0为Base,1为BaseShell,2为Volume,3为VolumeShell。 enable enable: boolean = true Inherited from BaseShape.enable Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:26 是否启用。 length length: number Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:22 ...
来源: Laya3.0_api 发布时间: 20231115
...s number 点积。 Static equals equals(a: ConchVector4, b: ConchVector4): boolean Defined in laya/d3/math/Native/ConchVector4.ts:194 判断两个四维向量是否相等。 Parameters a: ConchVector4 四维向量。 b: ConchVector4 四维向量。 Returns boolean 是否相等。 Static lerp lerp(a:...
来源: Laya3.0_api 发布时间: 20231102
...operties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial atmosphereThickness : Number 获取大气厚度,范围是0到5。 SkyProceduralMaterial exposur...
来源: Laya2.0_api 发布时间: 20190513
...rs destObject: any 克隆源。 Returns void equals equals(b: Quaternion): boolean Defined in laya/d3/math/Quaternion.ts:494 Parameters b: Quaternion Returns boolean forNativeElement forNativeElement(nativeElements?: Float32Array): void Defined in laya/d3/math/Quaternion.ts:617 Parameters Default va...
来源: Laya3.0_api 发布时间: 20231102
...地图的。 export default class MapSprite extends Laya.Image{ isShow:boolean = false; name:string = ""; constructor() { super(); } loadImageAndPos(name:string,posX:number,posY:number):void { this.name = name; this.anchorX = 0; this.anchorY = 0; this.x = posX; //这里是256*整数倍的叠加...
来源: Laya_社区 发布时间: 20190315
...个回复 Laya_Aaron 赞同来自: 1987c private static var _useAudioMusic:Boolean = true; /** * <code>SoundManager</code> 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 * 引擎默认有两套声音方案:WebAudio和H5Audio ...
来源: Laya_社区 发布时间: 20190919
...hitTest(this.down)) return; this.onMouseUp(false); } private onMouseUp(up: boolean) { if (!this.down) return; this.scaleBig(this.down); if (up) { if (this.down === this.racingB) { // do click } else if (this.down === this.marketB) { // do click } else if (this.down === this.breedB) { // do click } e...
来源: Laya_社区 发布时间: 20180731
...ype]); } public static function addDark(target:laya.display.Sprite, isDark:Boolean = true):void { if (isDark) { // laya.ui.UIUtils.addFilter(target, DARK); target.filters=[ new ColorFilter([0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 1, 0])]; } else { // laya.ui.UIUtils.clearFilter(t...
来源: Laya_社区 发布时间: 20160802