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

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

111. 材质编辑模块 · LayaAir3.0文档 · LAYABOX [ 47%]

...外表。材质与着色器是紧密相连的,我们使用的材质必须设置对应的着色器形式。 1、材质的创建 我们可以在IDE的项目面板内创建材质,创建材质操作如动图1-1所示: 动图1-1 我们创建一个材质,并将其命名为"myMaterial"。 2、材...

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

112. laya.ui.ScaleBox [ 46%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

113. laya.ui.Box [ 46%]

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

来源: laya_api 发布时间: 20170929

114. laya.ui.TipManager [ 46%]

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

来源: laya_api 发布时间: 20170929

115. laya.ui.TipManager [ 46%]

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

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

116. laya.ui.Box [ 46%]

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

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

117. 关于适配模式 Laya.Stage.SCALE_FIXED_AUTO [ 46%]

...这两张图片在显示上大小保持一致 但是我们的游戏又是设置的是 Laya.Stage.SCALE_FIXED_AUTO 的缩放模式,这样后面显示在stage上的那张图片就显示上而言大小就根据屏幕大小发生变化了,我现在就是想让index.html中添加的图片和stage上...

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

118. laya.ui.VBox [ 46%]

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

来源: laya_api 发布时间: 20170929

119. laya.ui.VSlider [ 45%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...

来源: laya_api 发布时间: 20170929

120. laya.ui.AdvImage [ 45%]

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

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