大约有 1,189 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(27) Laya2.0_示例(6) Laya_示例(6)
...器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox(): gui.ComboBox; cre...
来源: Laya3.0_文档 发布时间: 20251010
...说明如下。 public function load(url:String, type:String = null, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):void2、关于图片加载问题。 官方的飞机大战案例中,加载地图用的是bg.loadImage,而这边先预加载后再用如下方式加载。这...
来源: Laya_社区 发布时间: 20160722
...ed By albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture ...
来源: laya_api 发布时间: 20170929
...666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.colors[0]; private liveGraphics:Graphics; private canvasGraphics:Graphics; constructor() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgCo...
来源: Laya_示例 发布时间: 20251219
...。 Returns number 点积。 Static equals equals(a: Vector2, b: Vector2): boolean Defined in laya/maths/Vector2.ts:55 判断两个二维向量是否相等。 Parameters a: Vector2 三维向量。 b: Vector2 三维向量。 Returns boolean 是否相等。 Static normalize normalize(s: Vector2, out: ...
来源: Laya3.0_api 发布时间: 20231115
...aya/components/AnimatorControllerLayer2D.ts:60 默认权重 enable enable: boolean = true Defined in laya/components/AnimatorControllerLayer2D.ts:70 是否开启 name name: string Defined in laya/components/AnimatorControllerLayer2D.ts:50 层的名字 playOnWake playOnWake: boolean = true Defined in...
来源: Laya3.0_api 发布时间: 20231115
...arameters destObject: any 克隆源。 Returns void equal equal(c: Color): boolean Defined in laya/maths/Color.ts:113 Parameters c: Color Returns boolean fromArray fromArray(array: any[], offset?: number): void Defined in laya/maths/Color.ts:175 从Array数组拷贝值。 Parameters array: any[] 数...
来源: Laya3.0_api 发布时间: 20231115
...s:114 盒发射器速度随机值 colorComponentInter colorComponentInter: boolean = false Defined in laya/particle/ParticleSetting.ts:86 false代表RGBA整体插值,true代表RGBA逐分量插值 disableColor disableColor: boolean = false Defined in laya/particle/ParticleSetting.ts:88 false代表...
来源: Laya3.0_api 发布时间: 20231115
...法Laya.getset,2.x中应该使用哪个方法呢static getset(isStatic:Boolean, target:any, name:String, getter:Function, setter:Function):void; 2020-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什...
来源: Laya_社区 发布时间: 20201118
...理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源。 `blendDst:int` 混合目标。 `depthTest:int` 深度测试方式。 #### 效果预览: ([demo地址](https:/...
来源: Laya2.0_文档 发布时间: 20210715