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

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

121. laya.physics.PhysicsDebugDraw_API3.0 [ 79%]

...w 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...

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

122. laya.device.media.Video [ 79%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  buffered : *[read-only] ...

来源: Laya2.0_api 发布时间: 20190513

123. laya.ui.TextArea [ 79%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

124. laya.display.EffectAnimation_API3.0 [ 79%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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

125. laya.spine.SpineSkeleton_API3.0 [ 79%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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

126. laya.particle.Particle2D_API3.0 [ 79%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoPlay autoPlay: boolean = true Defined in laya/particle/Particle2D.ts:24 是否自动播放 autoSize autoSize: boolean = false I...

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

127. laya.ui.View [ 79%]

...lpha值会影响drawcall。Sprite  anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。View  anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。View autoDestroyAtClosed : Boolean = false场景...

来源: Laya2.0_api 发布时间: 20190513

128. laya.ui.HSlider_API3.0 [ 79%]

...hSlider:HSlider; public function HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...

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

129. laya.ui.VSlider_API3.0 [ 79%]

...vSlider:VSlider; public function VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...

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

130. laya.ui.Panel [ 79%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513