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

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

191. laya.ui.TextArea_API3.0 [ 38%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new Tex...

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

192. laya.d3.core.light.PointLight [ 37%]

...。 Sprite3D  attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 ...

来源: laya_api 发布时间: 20170929

193. laya.d3.core.light.DirectionLight [ 37%]

...Hierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 ...

来源: laya_api 发布时间: 20170929

194. laya.ui.Label [ 36%]

...unds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,...

来源: laya_api 发布时间: 20170929

195. laya.d3.core.light.SpotLight [ 36%]

...。 Sprite3D  attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获...

来源: laya_api 发布时间: 20170929

196. laya.ui.Label [ 36%]

...unds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,...

来源: Laya2.0_api 发布时间: 20190513

197. 组件脚本的内置方法 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞到碰撞结束前,每帧都在触发调...

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

198. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;">' + 'cheese</span>' + '</div>' + '&l...

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

199. laya.d3.core.Camera_API3.0 [ 34%]

...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlo...

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

200. 树状列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

...的特有属性如下图: (图1-12) 属性 功能说明 背景色 bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色。 子项模板 itemTemplate 渲染单元,具体用法已在1.2节的步骤中给出。 ...

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