大约有 1,261 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(438) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(39) Laya2.0_示例(9) Laya_示例(7)
...经销毁 。 Returns boolean enabled get enabled(): boolean set enabled(value: boolean): void Inherited from Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组...
来源: Laya3.0_api 发布时间: 20231115
...旋转 * fullSensor:随传感器旋转 */ conch.setDeviceOrientation({ value: value, success: function () { console.log("success"); }, fail: function () { console.log("fail"); }, complete: function () { console.log("complete"); }, }); Copyright ©Layabox 2026 all right reserved,powered by LayaAi...
来源: Laya3.0_文档 发布时间: 20260128
...件的窗口,来获取本地信息。<input type="file" id="myfile" value="" name="myfile" multiple="multiple"/> 这种功能在laya里面可以使用吗? 如果调用这个方法在原生js里面是可以弹出窗口的。var ne = document.createEvent('MouseEvents'); ne.initEvent('clic...
来源: Laya_社区 发布时间: 20180723
...ther (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you w...
来源: Laya_社区 发布时间: 20190730
...utils/StatUI.ts:44 override 显示性能统计信息。 Parameters Default value x: number = 0 X轴显示位置。 Default value y: number = 0 Y轴显示位置。 views: Array<StatUIParams> Returns void Globals "laya/utils/StatUI" StatUI enable hide isCanvasRender renderNotCanvas set_onclick s...
来源: Laya3.0_api 发布时间: 20231102
.../Performance.ts:4 Accessors Static enable get enable(): boolean set enable(value: boolean): void Defined in laya/utils/Performance.ts:60 Returns boolean Defined in laya/utils/Performance.ts:53 Parameters value: boolean Returns void Static enableDataExport get enableDataExport(): boolean set enableDa...
来源: Laya3.0_api 发布时间: 20231102
...ic function get asPassword():Boolean public function set asPassword(value:Boolean):voidcolorproperty color:String[override] 表示文本的颜色值。可以通过 Text.defaultColor 设置默认颜色。 默认值为黑色。 Implementation public function get color():String p...
来源: laya_api 发布时间: 20170929
...s:90 是否有缓存 Parameters key: any Returns boolean set set(key: any, value: any): void Defined in laya/utils/WeakObject.ts:49 设置缓存 Parameters key: any kye对象,可被回收 value: any object对象,可被回收 Returns void Static clearCache clearCache(): void Defined in laya/utils...
来源: Laya3.0_api 发布时间: 20231115
...ction get allowSleeping():Boolean public function set allowSleeping(value:Boolean):voidbox2dproperty public var box2d:*Box2d引擎的全局引用,更多属性和api请参考 http://box2d.org gravityproperty gravity:Object 物理世界重力环境,默认值为{x:0,y:1} 如果修改y方...
来源: Laya2.0_api 发布时间: 20190513
... 这样才行! public get x(): number { return this._x; } public set x(value: number) { this._x = value; this.event(XYImage.SPRITE_PROPERTY_CHANGE, { "x": this._x }); } Monica • 2017-11-01 12:15 好的,多谢分享。有问题再联系~
来源: Laya_社区 发布时间: 20171030