大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)
...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
...景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 example 以下示例代码,创建了...
来源: Laya3.0_api 发布时间: 20231115
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231115
...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
...位于 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
... button ,并传入它的皮肤。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 100;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。 button.clickHandler = new Handler(this, onClickButton,[butto...
来源: Laya3.0_api 发布时间: 20231115
...签,可以加载一个css文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同...
来源: Laya3.0_api 发布时间: 20231102
...";//设置 label 的文本内容。 label.x = 100;//设置 label 对象的属性 x 的值,用于控制 label 对象的显示位置。 label.y = 100;//设置 label 对象的属性 y 的值,用于控制 label 对象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200...
来源: Laya3.0_api 发布时间: 20231115
...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
...Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();/...
来源: Laya3.0_api 发布时间: 20231115