大约有 163 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0085 秒)
...态更改帧率有利于改进手机耗电。 Hierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag ...
来源: Laya3.0_api 发布时间: 20231115
...er = laya.utils.Handler; class VSlider_Example { private vSlider: VSlider; constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(thi...
来源: Laya3.0_api 发布时间: 20231115
...闭盒子回调isShowproperty public var isShow:Boolean是否在显示中Constructor DetailMoreGame()Constructorpublic function MoreGame(type:int = 0) Parameters type:int (default = 0)Method Detaildispose()method public function dispose():void销毁插件getDateFormatStr()method public static fun...
来源: Laya2.0_api 发布时间: 20190513
... set strokeColors(value:String):voidSee alsolaya.display.Text.strokeColor()Constructor DetailUIGroup()Constructorpublic function UIGroup(labels:String = null, skin:String = null) 创建一个新的 Group 类实例。 Parameters labels:String (default = null) — 标签集字符串。以逗号做分...
来源: laya_api 发布时间: 20170929
...adioGroup; import Handler = laya.utils.Handler; class RadioGroup_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, this.onLoadComplete));//加载...
来源: Laya3.0_api 发布时间: 20231115
...ample import Animation = laya.display.Animation; class Animation_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animati...
来源: Laya3.0_api 发布时间: 20231115
... 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl _sundir _url autoSize currentCreationLay...
来源: Laya3.0_api 发布时间: 20231115
...der see laya.ui.VSlider Hierarchy UIComponent Slider HSlider VSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInH...
来源: Laya3.0_api 发布时间: 20231115
... Box = laya.ui.Box; import Label = laya.ui.Label; class Item extends Box { constructor() { this.graphics.drawRect(0, 0, 100, 20, null, "#ff0000"); var label: Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); this.addChild(label);...
来源: Laya3.0_api 发布时间: 20231115
...生改变: value=", value); } } Hierarchy UIComponent ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX...
来源: Laya3.0_api 发布时间: 20231115