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

大约有 1,107 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)

271. UI-Tree [ 71%]

...treeItem", "width": "150", "left": "33", "height": "22", "name": "label", "color": "#ffff00", "right": "0", "x": "33"}}, {"type": "Clip", "props": {"x": "0", "name": "arrow", "y": "5", "skin": "ui/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left":...

来源: Laya_示例 发布时间: 20260106

272. UI-Tree [ 71%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); let res = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_folder.png", "res/ui/tre...

来源: Laya2.0_示例 发布时间: 20260106

273. laya.d3.core.light.AreaLightCom_API3.0 [ 71%]

...t AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType maxBounces power shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shado...

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

274. 用Transform和直接设置xy坐标的效果不一致 [ 71%]

...一致的。 let txt: Laya.Text = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; txt.x = 1136 / 2, txt.y = 320; Laya.stage.addChild(txt);          txt = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; let mat = new Laya.Matrix(); mat.translate(1136 / 2, 320); txt.tra...

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

275. laya.d3.core.material.PBRMaterial_API3.0 [ 71%]

...renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy anisotropyEnable anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha b...

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

276. 如何让material 材质 实现渐变色 [ 71%]

...擎内置的BoxMesh,顶点信息只有Position,Normal,Uv,你可以新增Color属性。并在重构顶点VB数据时加入Color数据。给每个顶点输入你喜欢的颜色,GPU内部会自动对颜色进行差值处理。 2018-03-15 1 1 分享 微博 QZONE 微信 otterboy 赞同来自: 能否...

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

277. 如何将stage背景设置为透明 [ 71%]

...背景颜色,默认为黑色,null为透明。*/ public function get bgColor():String { return _bgColor; }   public function set bgColor(value:String):void { _bgColor = value; conchModel && conchModel.bgColor(value);   if (Render.isWebGL) { if (value && value !== "black" &&a...

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

278. 多行输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

... 1.2 TextArea属性介绍 (图1-2) 属性:text、font、fontSize、color、style、syntax、align、bgColor、bordercolor、overflow、wordWrap(默认为true)、leading、padding、underlinecolor、stroke、strokeColor、skin、sizeGrid、type、maxchars、restrict、prompt、promptcolor...

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

279. laya.utils.Utils [ 71%]

...Angle(radian:Number):Number[static] 弧度转换为角度。 Utils  toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils  toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic stat...

来源: laya_api 发布时间: 20170929

280. 计时器-间隔循环 [ 70%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { let vGap = 100; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText =...

来源: Laya2.0_示例 发布时间: 20260106