大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0060 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...过Tween.from()方法,实现“LayaBox”字符的文本缓动动画。 创建TweenDemo.ts类,代码编写如下: ```typescript // 程序入口 class TweenDemo{ constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本...
来源: Laya2.0_文档 发布时间: 20210715
...fect" PostProcessEffect Class PostProcessEffect PostProcessEffect 类用于创建后期处理渲染效果。 Hierarchy PostProcessEffect ColorGradEffect BloomEffect ScalableAO GaussianDoF Index Constructors constructor Accessors active Methods effectInit getCameraDepthTextureModeFlag release Constru...
来源: Laya3.0_api 发布时间: 20231115
...blic class SkyBoxInheritanceSkyBox Sky laya.resource.Resource Sky 类用于创建天空盒。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaBlending : Number 获取透明混合度。 Sky colorIntensity : Number 获取颜色强度。 Sk...
来源: laya_api 发布时间: 20170929
图像组件(Image)一、通过LayaAir IDE创建Image组件1.1 创建image1.2 常用属性1.3 脚本控制Image二、通过代码创建Image组件图像组件(Image) 一、通过LayaAir IDE创建Image组件 1.1 创建image Image 是 UI 里最常见的显示图像的组件,用来显示位...
来源: Laya3.0_文档 发布时间: 20240910
# Image 组件参考 ## 一、通过LayaAirIDE创建Image组件 ### 1.1 创建image Image 是 UI 里最常见的显示图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实...
来源: Laya2.0_文档 发布时间: 20210714
进度条组件(ProgressBar)一、通过LayaAir IDE创建ProgressBar组件1.1 创建ProgressBar1.2 ProgressBar属性1.3 脚本控制ProgressBar二、通过代码创建ProgressBar进度条组件(ProgressBar) 一、通过LayaAir IDE创建ProgressBar组件 ProgressBar经常被用于显示游...
来源: Laya3.0_文档 发布时间: 20240910
...aVector2 ObjectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量渐变。 Public Properties PropertyDefined By gradientCount : int[read-only] 二维向量渐变数量。GradientDataVector2Public Methods MethodDefined By GradientDataVector2() 创建一个 Gradien...
来源: laya_api 发布时间: 20170929
...aVector2 ObjectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量渐变。 Public Properties PropertyDefined By gradientCount : int[read-only] 二维向量渐变数量。GradientDataVector2Public Methods MethodDefined By GradientDataVector2() 创建一个 Gradien...
来源: Laya2.0_api 发布时间: 20190513
... class CommandBufferInheritanceCommandBuffer Object CommandBuffer 类用于创建命令流。 Public Methods MethodDefined By CommandBuffer() 创建一个 CommandBuffer 实例。 CommandBuffer _apply():void private CommandBuffer blit(source:RenderTexture, dest:RenderTexture, shader:Shader...
来源: Laya2.0_api 发布时间: 20190513
...eta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 #### 2.1.1 准备美术资源 准备好页面背景图以及需要切换的页面美术资源,放到LayaAirIDE资源管理器对应的项目目录中。 #### 2.1.2 为页...
来源: Laya2.0_文档 发布时间: 20210715