大约有 573 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(280) Laya2.0_文档(75) Laya3.0_api(65) Laya_示例(59) Laya2.0_示例(41) Laya3.0_文档(37) Laya2.0_api(9) laya_api(7)
...itor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHarmonics awaked bounds boundsMax boundsMin boxProjection customReflection destroyed enabled hideFlags iblTex iblTexRGBD id importance probePosition reflectionDecod...
来源: Laya3.0_api 发布时间: 20231115
...w Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(1, 1, 1); //设置平行光的方向 directionLight.transform.worldMatrix.setForward(new Laya.Vector3(-1.0, -1.0, 1.0)); //平面 var plane = this.s...
来源: Laya_社区 发布时间: 20210103
... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png", "../../../../res/ui/tree/cl...
来源: Laya2.0_文档 发布时间: 20210715
...rue, the texture will be flipped vertical. Default is false. * @param clearColor Optional. If provided, the texture will be cleared to this color before drawing. Default is null. * @returns The drawn RenderTexture2D object. * @ZH 绘制当前对象到一个 Texture 对象上。 * @param canvasWidth ...
来源: Laya_社区 发布时间: 20250827
...不起作用 let html = new HTMLDivElement(); let str = "<span style='color:#ffffff; line-height:20px'>.....</span>" html.innerHTML=str; 比如这个line-height 怎么弄都是没反应。而且这里很多html/css的样式好像都设置不了,有限制的吗? 用html.style.leadin...
来源: Laya_社区 发布时间: 20170302
...h { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt);...
来源: Laya_社区 发布时间: 20170519
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias s...
来源: Laya3.0_api 发布时间: 20231115
生成的粒子特效怎么设置colorComponentInter无效? function UILetterBox(letter, width) { UILetterBox.super(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAsse...
来源: Laya_社区 发布时间: 20161230
...ng么 matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 龙骨skeleton鼠标点击区域的设置 问题状态 最新活动: 2020-11-30 15:11 浏览: 3676 关注: 4 人 Nevermore • 2020-11-30 18:14 不是web,是native下 Nevermore • 2020-11-20 09:09 我打...
来源: Laya_社区 发布时间: 20201113
...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } 2018-09-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...
来源: Laya_社区 发布时间: 20180919