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

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

111. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 51%]

...prite3D.ts:26 从网格创建一个TerrainMeshSprite3D实例和其高度图属性。 Parameters mesh: Mesh 网格。 heightMapWidth: number 高度图宽度。 heightMapHeight: number 高度图高度。 Default value name: string = null 名字。 Returns MeshTerrainSprite3D Static createFromMeshAndHe...

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

112. 文本进阶使用 · LayaAir3.0文档 · LAYABOX [ 50%]

...本,当Text可以满足时,原则上优先使用Text,而Label由于属性非常丰富,适用于相对布局等等Text无法满足的应用场景。 对于fillText而言,我们不仅要了解它的优势,也要了解他的不足。fillText文本由于是引擎自己绘制的,目前只...

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

113. laya.ui.Tree [ 49%]

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

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

114. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 49%]

...erialProperty Defined in laya/d3/core/material/Material.ts:361 获得材质属性 Returns any _defineDatas get _defineDatas(): DefineDatas Inherited from Material._defineDatas Defined in laya/d3/core/material/Material.ts:1055 Returns DefineDatas albedoColor get albedoColor(): Color set albedoColor(v...

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

115. laya.ui.Dialog_API3.0 [ 48%]

...景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 example 以下示例代码,创建了...

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

116. laya.ui.UIGroup_API3.0 [ 48%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

117. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 48%]

...erialProperty Defined in laya/d3/core/material/Material.ts:361 获得材质属性 Returns any _defineDatas get _defineDatas(): DefineDatas Inherited from Material._defineDatas Defined in laya/d3/core/material/Material.ts:1055 Returns DefineDatas alphaTest get alphaTest(): boolean set alphaTest(value...

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

118. laya.ui.CheckBox_API3.0 [ 48%]

...位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; import laya.utils.Handler; public class CheckBox_Example { public function CheckBox_Example() { Laya.ini...

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

119. laya.ui.Button_API3.0 [ 48%]

... button ,并传入它的皮肤。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 100;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。 button.clickHandler = new Handler(this, onClickButton,[butto...

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

120. laya.ui.Label_API3.0 [ 48%]

...";//设置 label 的文本内容。 label.x = 100;//设置 label 对象的属性 x 的值,用于控制 label 对象的显示位置。 label.y = 100;//设置 label 对象的属性 y 的值,用于控制 label 对象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200...

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