大约有 353 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)
...ion clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 qrcodeSp.loadImage(url,0,0,100,100); } } } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台...
来源: Laya2.0_文档 发布时间: 20210715
...Forward(forward: Vector3): void Defined in laya/d3/core/Transform3D.ts:695 获取向前方向。 Parameters forward: Vector3 前方向。 Returns void getFrontFaceValue getFrontFaceValue(): number Defined in laya/d3/core/Transform3D.ts:108 Returns number getRight getRight(right: Vector3): void Defin...
来源: Laya3.0_api 发布时间: 20231115
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231115
... //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就是页面上命名为“player”的标签 var video:any = Laya.Browser.document.querySelector('#player'); if(...
来源: Laya3.0_文档 发布时间: 20241014
...如果使用固定名称的根文件,可能会由于CDN缓存导致无法获取最新的文件内容,导致热更错误。 解决方法一般是给根文件一个非cdn地址,或者给一个动态页面地址。这时候根文件通常与DCC服务器不在一起,就不能把DCC服务器的...
来源: Laya3.0_文档 发布时间: 20241024
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231115
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Defined in laya/d3/core/material/Material...
来源: Laya3.0_api 发布时间: 20231115
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231115
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231115
...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231102