大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0402 秒)
Laya_社区(584) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya3.0_文档(44) Laya2.0_api(44) Laya2.0_示例(41)
...式和布局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终颜色为#ff0000 redTe...
来源: Laya3.0_文档 发布时间: 20251010
...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlocalYDistance msaa nearPla...
来源: Laya3.0_api 发布时间: 20231115
...去 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} span.s1 {font: 12.0px '.PingFang SC'} 12-09 22:04:33.105 12728-12832/? E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaai...
来源: Laya_社区 发布时间: 20181209
... Laya.HTMLDivElement(); ele.innerHTML = "<span href='_test' style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代...
来源: Laya_社区 发布时间: 20211105
...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStag...
来源: Laya2.0_api 发布时间: 20190513
...getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞到碰撞结束前,每帧都在触发调...
来源: Laya3.0_文档 发布时间: 20251010
...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStag...
来源: Laya2.0_api 发布时间: 20190513
...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStag...
来源: Laya2.0_api 发布时间: 20190513
...Value : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3TerrainMaterial blend : int 获取混合方式。 TerrainMaterial blendDst : int 获取混合目标。 TerrainMaterial blendSrc : int 获取混合源。 TerrainMaterial cull : int 获取剔除方式...
来源: Laya2.0_api 发布时间: 20190513
...iump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #includ...
来源: Laya2.0_文档 发布时间: 20210715