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

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

451. [LayaAir3]挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错 [ 50%]

...问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 求指点3d射线碰撞和UI点击穿透的问题 如何设置...

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

452. laya.ui.TextInput [ 50%]

...,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Label borderColor : String 文本...

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

453. laya.display.Sprite_API3.0 [ 50%]

... Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg...

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

454. laya.display.Stage_API3.0 [ 50%]

...舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模式,帧率越高,渲染压力越大,越费电,合...

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

455. laya.map.TileAniSprite_API3.0 [ 50%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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

456. laya.media.SoundNode_API3.0 [ 49%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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

457. laya.map.GridSprite_API3.0 [ 49%]

...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void cache...

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

458. laya.device.media.Video_API3.0 [ 49%]

...se.blendMode Defined in laya/display/Sprite.ts:960 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from AnimationBase.blendMode Defined in laya/display/Sprite.ts:964 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns vo...

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

459. laya.display.Text [ 49%]

...,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Text  borderColor : String 文...

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

460. laya.ui.DialogManager_API3.0 [ 49%]

...的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownG...

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