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

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

231. laya.ui.TextArea [ 51%]

...mponent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

232. laya.display.Scene [ 51%]

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

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

233. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 50%]

...haderFS); } ``` #### 3.实现自定义材质 我们自定义材质,并且设置该材质使用的Shader。 注意:2.4.0之后材质基类由BaseMaterial变更为Material。 ```typescript export class CustomMaterial extends Laya.Material { constructor() { super(); //设置本材质使用的shader...

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

234. laya.ui.Panel [ 50%]

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

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

235. laya.ui.Clip [ 50%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模...

来源: laya_api 发布时间: 20170929

236. laya.device.media.Video [ 50%]

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

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

237. laya.ui.Tree [ 50%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,...

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

238. laya.d3.core.material.PBRMaterial [ 50%]

...odDefined By  PBRMaterial()PBRMaterial _setRenderStateBlendDepth():void 设置渲染相关状态。 BaseMaterial _setRenderStateFrontFace(isTarget:Boolean, transform:Transform3D):void 设置渲染相关状态。 BaseMaterial _upload():void 上传材质。 BaseMaterial clone():* 克隆。 BaseM...

来源: laya_api 发布时间: 20170929

239. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 50%]

...haderFS); } ``` #### 3.实现自定义材质 我们自定义材质,并且设置该材质使用的Shader。 注意:在2.4.0版本之后材质基类由BaseMaterial变更为Material。 ```typescript export class CustomMaterial extends Laya.Material { public function CustomMaterial() { super(); //...

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

240. laya.ui.UIGroup [ 50%]

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

来源: laya_api 发布时间: 20170929