大约有 1,257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(437) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(36) Laya2.0_示例(9) Laya_示例(7)
... public function get magFifter():int public function set magFifter(value:int):voidminFifterproperty minFifter:int 缩小过滤器 Implementation public function get minFifter():int public function set minFifter(value:int):voidmipmapproperty mipmap:Boolean 是否使用mipLeve...
来源: laya_api 发布时间: 20170929
... progressBar.width=300; progressBar.sizeGrid="5,5,5,5"; //当progressBar的value值改变时触发 progressBar.changeHandler=new Handler(this,onChange); Laya.stage.addChild(progressBar); } private function onChange(value:Number):void { trace("进度: "+Math.floor(value*100)+"%"); } //游戏资源加...
来源: Laya_社区 发布时间: 20160509
...this.nameLabel.align = "center"; this.addChild(this.nameLabel); } setSpeed(value) { this.speed = value; } setName(value) { this.nameLabel.text = value; } update() { this.x += this.speed; if (this.x >= Laya.stage.width + Character.WIDTH) this.x = -Character.WIDTH; } } Character.WIDTH = 110; Character...
来源: Laya2.0_示例 发布时间: 20251130
...:void { panel.vScrollBar.min=0; panel.vScrollBar.max=100; panel.vScrollBar.value=50; panel.hScrollBar.min=0; panel.hScrollBar.max=100; panel.hScrollBar.value=50; } } } LayaAirDemo.rar 2017-07-20 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20170719
...blic final class yfqian_SaveALoad { public static function set(key:String, value:String):String { LocalStorage.setItem(key,value); return value; } public static function get(key:String):String { return LocalStorage.getItem(key); } public static function del():void { LocalStorage.clear(); } public st...
来源: Laya_社区 发布时间: 20180722
...创建一个Tween的属性对像 var countdown = { value: thiz.mCamera.transform.position.z }; //缓动动画 参数1:属性对象;参数2:终止值(对象);参数3:持续时长,ms;参数4:缓动特效(比如回弹,加速等)... ...
来源: Laya_社区 发布时间: 20180726
...ls/Mesh.ts:196 创建一个 Mesh 实例,禁止使用。 Parameters Default value isReadable: boolean = true 是否可读。 Returns Mesh Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited fro...
来源: Laya3.0_api 发布时间: 20231115
...于识别。 Returns number obsolute get obsolute(): boolean set obsolute(value: boolean): void Inherited from Resource.obsolute Defined in laya/resource/Resource.ts:139 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略...
来源: Laya3.0_api 发布时间: 20231102
...轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.localOffset Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...teCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): void Inherited from AnimatorStateCondition.name Defined in laya/components/AnimatorStateCondition.ts:73 名称 Returns string Inherited from AnimatorStateCondition.name Defined in laya/components/AnimatorState...
来源: Laya3.0_api 发布时间: 20231115