大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(617) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(73) Laya2.0_示例(68)
...ext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; let errorCode:number = gl.getError(); if(errorCode != 0) { console.log("webgl报错了,错误代码为" + errorCode); } 3 camera勾选hdr或者msaa 运行报错 webgl报错了,错误代码为 1282 不勾选hdr msaa或者...
来源: Laya_社区 发布时间: 20250916
...eateLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor...
来源: Laya_社区 发布时间: 20180529
...list渲染 */ private OnRankLisLabRender(item:component.UIButton, index: number): void { item.name = index.toString(); item.onClick(this,this.OnCliickItem); } /** 点击item单个道具的时候*/ private OnCliickItem(item: component.UIButton) { let index = parseInt( item.name ); }
来源: Laya_社区 发布时间: 20180515
...击其中的任何一个list item,触发方法: private onSelect(index:number):void { console.log("当前选择的索引:" + index); //this.theItem = new DlgNote2(); //this.theItem.popup(); Laya.Scene.open("note2Dlg.scene"); } ——就是这里:我希望打开b的时候...
来源: Laya_社区 发布时间: 20190521
...了个命名空间declare namespace autobahn { export class Session { id: number; realm: string; isOpen: boolean; features: any; ..................................然后在ts文件中 new autobahn.引用华丽丽的出现了 如果谁有更好的方法 一起讨论研究.. 2018-08-05 1 4 分享 ...
来源: Laya_社区 发布时间: 20180805
...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int 获取混合方式。 PixelLineMaterial blendDst : int 获取混合目标。 PixelLineMaterial blendSrc : int 获取混合源。 PixelLineMaterial...
来源: Laya2.0_api 发布时间: 20190513
...刷新几次就变大了。 class GameMain{ public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', pxTimes=' + GameMain.pxTimes); Laya...
来源: Laya_社区 发布时间: 20170403
...eateLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor...
来源: Laya_示例 发布时间: 20260303
...BaseMaterial> 获取浅拷贝材质列表。 BaseRender sortingFudge : Number排序矫正值。BaseRenderProtected Properties PropertyDefined By _projectionViewWorldMatrix : Matrix4x4TrailRendererPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By ...
来源: Laya2.0_api 发布时间: 20190513
...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。Ba...
来源: laya_api 发布时间: 20170929