大约有 1,257 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(437) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(36) Laya2.0_示例(9) Laya_示例(7)
...s._weight; } //如果没有 Setter,则 weight 为只读属性 set weight(value: number) { this._weight = value; } } 2.3 是否序列化保存 serializable 通过装饰器定义为组件属性后,默认状态下,属性名与值都会被序列化保存到组件被添加的场景文件或预制...
来源: Laya3.0_文档 发布时间: 20251010
...ay = new ByteArray(); byteArray.writeInt(100); byteArray.position = 0; var value:int; /*[IF-FLASH]*/value = byteArray.readUnsignedInt(); //[IF-SCRIPT]value = byteArray.readInt(); }单行宏用法说明 1、AS3项目中 value = byteArray.readUnsignedInt(); 被正常执行,编译后JS中不...
来源: Laya_社区 发布时间: 20151106
...sics2D.I._factory.set_rigidBody_allowRotation方法时候,传入参数为value就可以了,这里错误传入!value了 LayaAir大为 • 2025-06-26 14:01 是有这个问题,设置allowRotation的值总共传了两次!value
来源: Laya_社区 发布时间: 20250626
...public function get farPlane():Number public function set farPlane(value:Number):voidfieldOfViewproperty fieldOfView:Number 获取视野。 Implementation public function get fieldOfView():Number public function set fieldOfView(value:Number):voidforwardproperty forward:Vector...
来源: laya_api 发布时间: 20170929
...public function get autoPlay():Boolean public function set autoPlay(value:Boolean):voidbitmapproperty bitmap:AutoBitmap [read-only] AutoBitmap 位图实例。 Implementation public function get bitmap():AutoBitmapclipHeightproperty clipHeight:Number 竖向分割时每个切片的...
来源: Laya2.0_api 发布时间: 20190513
...于识别。 Returns number obsolute get obsolute(): boolean set obsolute(value: boolean): void Inherited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略...
来源: Laya3.0_api 发布时间: 20231115
...MiniDemo/release/bdgame/openContext/weapp-adapter.js.Object.defineProperty.value (weapp-adapter.js:243) at __webpack_require__ (weapp-adapter.js:20) at Object.../../../Laya2.0Project/MiniDemo/release/bdgame/openContext/weapp-adapter.js.Object.defineProperty.value (weapp-adapter.js:138) at __webpack_...
来源: Laya_社区 发布时间: 20191116
... public function get damping():Number public function set damping(value:Number):voidfrequencyproperty frequency:Number弹簧系统的震动频率,可以视为弹簧的弹性系数 Implementation public function get frequency():Number public function set frequency(value:Numb...
来源: Laya2.0_api 发布时间: 20190513
...toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters value: string Returns number Static getBaseName getBaseName(path: string): string Defined in laya/utils/Utils.ts:129 获得路径中的文件名(包含扩...
来源: Laya3.0_api 发布时间: 20231115
... public function get array():Array public function set array(value:Array):voiddataSourceproperty dataSource:*[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值...
来源: laya_api 发布时间: 20170929