大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _removeReference _removeReference(count?: numb...
来源: Laya3.0_api 发布时间: 20231102
...port DropBox from "./script/DropBox" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string="";...
来源: Laya_社区 发布时间: 20181001
...a.HtmlVideo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSou...
来源: Laya_社区 发布时间: 20240305
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _parse _parse(desc: string | Arra...
来源: Laya3.0_api 发布时间: 20231115
...d_swimpool01.png"; let swimpoorpath02="Comp/yard_swimpool02.png"; export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation; constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.cr...
来源: Laya_社区 发布时间: 20190805
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _parse _parse(texture: Texture, c...
来源: Laya3.0_api 发布时间: 20231115
...ameters onSuccess: Handler 带有唯一Position参数的回调处理器。 Default value onError: Handler = null 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 Returns void Static watch...
来源: Laya3.0_api 发布时间: 20231115
...ox.png”图片,可以在右边的属性面板中,看到默认是使用Default选项,纹理格式选择的是“带透明通道的位图(32位)”。在没有纹理压缩前,图片在所有平台都使用此格式。 纹理压缩在PC端和手机端有所不同,如动图2-2所示,若在D...
来源: Laya3.0_文档 发布时间: 20251010
...则为垂直方向,否则为水平方向。 默认值为:true。 The default value is true.maxproperty max:Number 获取或设置表示最高位置的数字。 默认值为100。 Implementation public function get max():Number public function set max(value:Number):voidmeasureHeig...
来源: laya_api 发布时间: 20170929
... = null) 创建一个 RenderableSprite3D 实例。 Parameters name:String (default = null)Method Detail_setBelongScene()methodoverride public function _setBelongScene(scene:Scene):void Parameters scene:Scene_setUnBelongScene()method override public function _setUnBelongScene():void _update()method...
来源: laya_api 发布时间: 20170929