大约有 1,086 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0057 秒)
Laya_社区(567) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41) Laya3.0_文档(40)
... Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters value: str...
来源: Laya3.0_api 发布时间: 20231115
...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = sc...
来源: Laya_示例 发布时间: 20250219
...r htmlDiv:HTMLDivElement=new HTMLDivElement(); htmlDiv.innerHTML='<span color="#FF0000">哈哈哈</span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20170505
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var grid = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/grid/plane.lh")); var layaMonkey = scene.addC...
来源: Laya_示例 发布时间: 20250219
...t_5.png' style = 'width:53px;height:27px'></img><span style = 'color:#ff8135;font:22px;valign:top'>[魏]幽州单稚然:sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss</span>" 2017-11-25 0 0 分享 微博 QZONE 微信 176*****233 赞同来自: 我也遇到...
来源: Laya_社区 发布时间: 20171116
....contentDiv.style.fontSize = this.contentT.fontSize; this.contentDiv.style.color = this.contentT.color; this.contentDiv.style.align = "center"; 圣诞老人的麋鹿 • 2020-08-19 15:35 请问你这个实例是写在对这个UI引用的的地方吗? 1569295620用户 • 2019-10-28 14:51...
来源: Laya_社区 发布时间: 20191028
...x]shader蓝图看起来缺少一些基础功能 看起来: 1.(X没有类似color这样的类型,虽然和vec3/vec4基本上没啥区别,但是vec应用起来很困难,也不好区分是否应该预览...)[经过寻找,发现在参数里可以创建color] 2.好像缺少noise等程序化纹理功能(...
来源: Laya_社区 发布时间: 20240702
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowR...
来源: Laya3.0_api 发布时间: 20231115
...型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,从而杜绝了Handl...
来源: Laya3.0_文档 发布时间: 20250214
...ponent = this.spotLight.getComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(1, 0.812, 1); spotLightComponent.intensity = 1.0; spotLightComponent.innerRadius = 50; spotLightComponent.outerRadius = 200; spotLightComponent.innerAngle = 50; spotLightComponent.outerAngle = 150; } } ...
来源: Laya3.0_文档 发布时间: 20250214