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

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

571. laya.ui.Box [ 73%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...

来源: laya_api 发布时间: 20170929

572. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 73%]

...s/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: string, x: number = 0, y: number = 0): void { Laya.loader.load(url).then((res: Laya.Texture) => { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.owner.addChil...

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

573. laya.device.media.Video_API3.0 [ 73%]

...entPoint updateZOrder fromImage Constructors constructor new Video(width?: number, height?: number): Video Overrides Sprite.constructor Defined in laya/device/media/Video.ts:43 Parameters Default value width: number = 320 Default value height: number = 240 Returns Video Properties Optional _extra _e...

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

574. laya.media.VideoNode_API3.0 [ 73%]

...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...

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

575. laya.display.FrameAnimation_API3.0 [ 73%]

...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Inherited from AnimationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBa...

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

576. laya.spine.SpineSkeleton_API3.0 [ 73%]

...ned in laya/display/Node.ts:62 节点标签 Static Readonly PAUSED PAUSED: number = 1 Defined in laya/spine/SpineSkeleton.ts:34 Static Readonly PLAYING PLAYING: number = 2 Defined in laya/spine/SpineSkeleton.ts:35 Static Readonly STOPPED STOPPED: number = 0 Defined in laya/spine/SpineSkeleton.ts:33 ...

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

577. 浏览器接口 · LayaAir3.3 · 引擎文档 · LAYABOX [ 73%]

...果前者为0或为空,则选择后者。 */ static get clientWidth(): number { Browser.__init__(); return Browser._clientWidth || Browser._window.innerWidth || Browser._document.body.clientWidth; } static set clientWidth(value: number) { Browser._clientWidth = value; } /** * 浏览器窗口可视...

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

578. laya.ui.FontClip [ 73%]

...是否激活。 Node  align : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent ancho...

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

579. laya.map.GridSprite [ 73%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  aniSpriteArray : Array当前GRID包含的动画GridSprite autoSize : Boolean = false 指定是否自动计算宽高...

来源: laya_api 发布时间: 20170929

580. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 73%]

.../ColorGradEffect.ts:35 Static SHADERVALUE_CUSTOMLUT SHADERVALUE_CUSTOMLUT: number Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:39 Static SHADERVALUE_CUSTOMLUTPARAMS SHADERVALUE_CUSTOMLUTPARAMS: number Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:40 Static SHADERVALUE_...

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