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

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

461. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...的情况: (1)立项的时候,美术定义一系列标准的字体颜色、字号,在各个UI中应用,有一天美术突然说要更改默认的字体颜色、字号,UI制作者就需要把所有界面都修改一次,这样会非常麻烦。针对这种情况,使用预制体就能...

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

462. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...llisionEnter(other:Laya.Collision): void { //碰撞开始后,物体改变颜色 (this.owner.getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D)...

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

463. laya.display.Input [ 41%]

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

来源: laya_api 发布时间: 20170929

464. laya.ui.Tab [ 41%]

... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...

来源: laya_api 发布时间: 20170929

465. laya.ui.RadioGroup [ 40%]

... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...

来源: laya_api 发布时间: 20170929

466. laya.ui.TextInput [ 40%]

...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...

来源: laya_api 发布时间: 20170929

467. laya.d3.core.light.PointLight [ 40%]

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

来源: laya_api 发布时间: 20170929

468. laya.d3.core.light.DirectionLight [ 40%]

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

来源: laya_api 发布时间: 20170929

469. laya.ui.AutoBitmap [ 40%]

...n:String):void 在画布上绘制文本(没有填色)。文本的默认颜色是黑色。 Graphics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):void 替换绘图的当前转换矩阵。 Graphics translate(x:Number, y:Number):void 重新映射画布上的 (0,0) 位置。 Graph...

来源: laya_api 发布时间: 20170929

470. laya.display.Stage [ 40%]

...rue,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象...

来源: laya_api 发布时间: 20170929