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

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

1091. laya.d3.core.MeshTerrainSprite3D [ 28%]

...y] 子对象数量。 Node parent : Node[read-only] 父节点。Node pickColor : Vector4RenderableSprite3D PICKCOLOR : int[static] 拾取颜色。RenderableSprite3D SAHDERDEFINE_LIGHTMAP : int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所...

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

1092. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 27%]

...信息,可减小lm文件大小                  Ignore Vertices Color         忽略顶点颜色信息,可减小lm文件大小         Texture Setting   ---   贴图设置                 Original Texture Type    ---   需要转换格式的原始纹理类型   ...

来源: Laya_社区 发布时间: 20170428

1093. 求ShuriKenParticle3D用法 [ 26%]

...  s.randomizeRotationDirection = 0;                 s.startColorType = 0;                 s.startColorConstant = new Vector4(1,1,1,1);                 s.gravity = new Vector3(0,-9.8,0);                 s.gravityModifier = 0;        ...

来源: Laya_社区 发布时间: 20170605

1094. laya.ui.Image_API3.0 [ 25%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//...

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

1095. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 25%]

...。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): ...

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

1096. laya.html.dom.HTMLDivElement_API3.0 [ 23%]

... 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水...

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

1097. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...此外,此过程涉及CPU计算,动态更新时将会降低性能。 ColorFiter在WebGL下的GPU消耗可以忽略不计。 最佳的做法是,尽可能使用图像创作工具创建的位图来模拟滤镜。避免在运行时中创建动态位图,可以帮助减少CPU或GPU负载。特别...

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

1098. laya.ui.Tree_API3.0 [ 20%]

...ample { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "r...

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

1099. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 19%]

...typescript //初始化引擎 Laya.init(600, 400, Laya.WebGL); Laya.stage.bgColor = "#ffcccc"; var data = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); ``` 通过data来当做ur...

来源: Laya2.0_文档 发布时间: 20210714

1100. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 18%]

...mple { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } } ...

来源: Laya2.0_文档 发布时间: 20210715