大约有 533 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0073 秒)
...的情况: (1)立项的时候,美术定义一系列标准的字体颜色、字号,在各个UI中应用,有一天美术突然说要更改默认的字体颜色、字号,UI制作者就需要把所有界面都修改一次,这样会非常麻烦。针对这种情况,使用预制体就能...
来源: Laya3.0_文档 发布时间: 20241014
...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: laya_api 发布时间: 20170929
...WebGL); //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { //如果创建对象时间为100帧间隔后 if(createTime>=100) { //每200帧间隔创建30个雪...
来源: Laya2.0_文档 发布时间: 20210715
...的情况: (1)立项的时候,美术定义一系列标准的字体颜色、字号,在各个UI中应用,有一天美术突然说要更改默认的字体颜色、字号,UI制作者就需要把所有界面都修改一次,这样会非常麻烦。针对这种情况,使用预制体就能...
来源: Laya3.0_文档 发布时间: 20251105
...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
...为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: laya_api 发布时间: 20170929
... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...
来源: laya_api 发布时间: 20170929
... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...
来源: laya_api 发布时间: 20170929
...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: laya_api 发布时间: 20170929
...ation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射...
来源: laya_api 发布时间: 20170929