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

大约有 2,578 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0100 秒)

661. laya.ui.LayoutBox_API3.0 [ 71%]

...ren?: boolean): LayoutBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited ...

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

662. laya.device.media.Video_API3.0 [ 71%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...

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

663. Unity导出的特效,怎么缓存让第一次加载的时候不卡呢 [ 71%]

...... ], XXX, XXX);   加载: var effect = actor.mView.root.addChild(Laya.Sprite3D.load("Resources/Player/nan_jianshi/Effect/dmc_skycity_attack1/.lh"));                     effect.once(Laya.Event.HIERARCHY_LOADED, this, function(){                         var particle = effect...

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

664. laya.ui.VBox_API3.0 [ 71%]

...Children?: boolean): VBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from ...

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

665. 多重遮罩显示异常 [ 71%]

...者消失,测试代码如下 export default class ClipView extends Laya.Sprite { constructor() { super(); this.init(); } init() { let bg = new Laya.Sprite(); bg.graphics.drawRect(0, 0, 500, 500, '#aaa'); this.addChild(bg); this.panel = new Laya.Panel(); this.panel.width = 500; this.panel.height = ...

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

666. laya.ui.HBox_API3.0 [ 71%]

...Children?: boolean): HBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from ...

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

667. LayaNative jni [ 71%]

...ive测试时黑屏 LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 LayaNative 预览在Android底下报错 ConchShader is not defined LayaNative 热更 按官网上的文档 使用LayaNative...

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

668. laya.ui.OpenDataContextView_API3.0 [ 71%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

669. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 71%]

...     onEnable(): void {         let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D;         console.log(a,typeof(a))         let aa = a.addComponent(Laya.Rigidbody3D);     }   报错 TypeError: Cannot read properties of undefined (reading '__className')...

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

670. 安卓高分辨率机型上,List和Panel中元件很难点击 [ 71%]

...框 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 2.2.0beta4 发布微信小游戏,安卓...

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