大约有 228 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...xt.text = "请查看源码和调试信息,了解如何使用"; this.text.color = "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 25; this.text.width = 800; this.text.anchorX = 0.5; this.text.align = "center"; this.text.y = 20; this.text.centerX = 0; this.owner.addChild(this.text); } /**...
来源: Laya3.0_文档 发布时间: 20251010
..._FORWARDRENDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor components cullingMask destroyed displayedInStage farPlane fieldOfView hideFlags id is3D layer maxlocalYDistance nearPlane numChildren orthographic orthographicVerticalSize parent renderingOrder scene skyRenderer timer ...
来源: Laya3.0_api 发布时间: 20231115
...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 ...
来源: Laya3.0_api 发布时间: 20231115
...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
... 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水...
来源: Laya2.0_api 发布时间: 20190513
...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStag...
来源: Laya2.0_api 发布时间: 20190513
...机在渲染时,都会先将颜色和深度信息存储起来,也就是ColorBuffer与DepthBuffer,然后下一帧直接读取缓冲区中颜色和深度信息,而不是实时计算的。当使用多个摄像机时,由于每一个摄像机都将自己的颜色和深度信息存储在缓冲...
来源: Laya3.0_文档 发布时间: 20251010
...Value : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3TerrainMaterial blend : int 获取混合方式。 TerrainMaterial blendDst : int 获取混合目标。 TerrainMaterial blendSrc : int 获取混合源。 TerrainMaterial cull : int 获取剔除方式...
来源: Laya2.0_api 发布时间: 20190513
...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new T...
来源: Laya3.0_api 发布时间: 20231115