• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 448 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)

351. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 46%]

...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

352. laya.resource.Texture2DArray_API3.0 [ 46%]

... url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _ad...

来源: Laya3.0_api 发布时间: 20231115

353. laya.ui.ComboBox_API3.0 [ 46%]

...om button cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D isOpen itemColors itemHeight itemPaddin...

来源: Laya3.0_api 发布时间: 20231115

354. 性能测试-卡通人物2 [ 46%]

...bel = new Text(); this.nameLabel.color = "#FFFFFF"; this.nameLabel.text = "Default"; this.nameLabel.fontSize = 13; this.nameLabel.width = Character.WIDTH; this.nameLabel.align = "center"; this.addChild(this.nameLabel); } setSpeed(value) { this.speed = value; } setName(value) { this.nameLabel.text = ...

来源: Laya2.0_示例 发布时间: 20260303

355. laya.d3.core.render.ScreenTriangle_API3.0 [ 46%]

...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

356. 动画实例在调用含有名字参数的时候获取不到边界 [ 46%]

...1 15:01 浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALI...

来源: Laya_社区 发布时间: 20200910

357. 压缩纹理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...ox.png”图片,可以在右边的属性面板中,看到默认是使用Default选项,纹理格式选择的是“带透明通道的位图(32位)”。在没有纹理压缩前,图片在所有平台都使用此格式。 纹理压缩在PC端和手机端有所不同,如动图2-2所示,若在D...

来源: Laya3.0_文档 发布时间: 20251010

358. 描边Shader,使用了两个Pass [ 45%]

...示例工程请参阅附件 截图如下:   核心代码如下 export default class OutlineMaterial extends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_T...

来源: Laya_社区 发布时间: 20180925

359. [LayaAir3]Laya3 满帧情况文字或者物体移动卡顿问题,请求解决 [ 45%]

...laya3 很多年了,真希望越来越好。望重视 参考脚本 export default class Times 附件 : --> LayaFps.zip 2025-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 谷主 赞同来自: Charley-Layabo...

来源: Laya_社区 发布时间: 20250908

360. laya.ui.HScrollBar_API3.0 [ 45%]

... laya/ui/ScrollBar.ts:97 创建一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns HScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false...

来源: Laya3.0_api 发布时间: 20231115