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

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

311. laya.ui.UIGroup_API3.0 [ 40%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

312. laya.ui.TextInput_API3.0 [ 40%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");...

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

313. laya.ui.TextArea_API3.0 [ 39%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//...

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

314. laya.display.Sprite_API3.0 [ 38%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite ...

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

315. laya.ui.ProgressBar_API3.0 [ 37%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { progressBar = new ProgressBar("resource...

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

316. 模型资源设置 · LayaAir3.0文档 · LAYABOX [ 37%]

...扩大边距可以提供更好纹理采样边界,减少图表之间颜色混合,改善边缘渲染效果。 在使用时,可以根据需要调整边距值,以权衡渲染质量和图集尺寸。合理值通常会提供更好渲染效果,但过度增加边距可能会导致...

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

317. laya.display.Stage_API3.0 [ 37%]

...r(value: string): void Defined in laya/display/Stage.ts:675 舞台背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode(): strin...

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

318. laya.d3.core.scene.Scene3D_API3.0 [ 36%]

...lor(value: Color): void Defined in laya/d3/core/scene/Scene3D.ts:598 固定颜色环境光。 Returns Color Defined in laya/d3/core/scene/Scene3D.ts:602 固定颜色环境光。 Parameters value: Color Returns void ambientIntensity get ambientIntensity(): number set ambientIntensity(value: number): ...

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

319. laya.display.Animation_API3.0 [ 36%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集...

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

320. 一篇了解LayaAir屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 36%]

... ![图11-2](img/11-2.png) (图11-2) 特别说明一下,背景屏幕颜色为黑色是画布默认背景色,不是stage背景色。通过`Laya.stage.bgColor`可以改变默认画布背景色。在noscale模式下白屏背景那是浏览器默认,说明画布就那么大,画布...

来源: Laya2.0_文档 发布时间: 20210715