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

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

111. laya.ui.Panel [ 88%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

112. laya.display.AnimationBase_API3.0 [ 88%]

...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...

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

113. drawToTexture 绘制函数不工作呢 [ 88%]

...awToTexture 绘制函数不工作呢           let top_rect: Laya.Sprite = new Laya.Sprite();         top_rect.x = 0;         top_rect.y = 0;         top_rect.size(100, 100);         top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1);    ...

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

114. laya.ui.Tab_API3.0 [ 88%]

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

115. laya.d3.core.scene.BaseScene [ 88%]

... Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170422

116. laya.ui.UIComponent_API3.0 [ 88%]

...lize > createChildren > initialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url au...

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

117. drawcall优化问题 [ 88%]

...es/atlas/comp.json', Handler.create(this, function(){ container = new Laya.Sprite(); var x = 0,y =80; Laya.stage.addChild(container); for(var i=0;i<1200;i++){ var role = new Laya.Sprite(); x = x+0.1; y = y+0.1 role.x = x; role.y = y; role.loadImage('comp/bg.png'); container.addChild(role); var ro...

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

118. laya.ui.Dialog_API3.0 [ 88%]

...: 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 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...

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

119. panle中 x或者y设置0 就不显示了 [ 88%]

...的链接 提交 2 个回复 yplpf 赞同来自: cuixueying 已经解决,Sprite默认宽高为0,虽然 drawTexture画了一张图片出来, 但是由于宽高都是0, 当坐标X或者Y 为0以后, Laya就当它移到屏幕外面了,所以就不显示了。   同时宽高为0,也不能...

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

120. laya.ui.FontClip_API3.0 [ 88%]

...56 _graphics _graphics: AutoBitmap Inherited from Clip._graphics Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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