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

大约有 2,985 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0062 秒)

731. 这样的panel请问如何实现比较好? [ 73%]

...: 1、定义一个Item,界面分两层(可用两个Sprite进行划分) class Item extends ui.itemUI { private state = 0; constructor() { super(); //点击最先出来的按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, [0]); //点击上面...

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

732. laya.d3.core.render.command.CommandBuffer [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CommandBufferMethods Packagelaya.d3.core.render.commandClasspublic class CommandBufferInheritanceCommandBuffer Object CommandBuffer 类用于创建命令流。 Public Methods  MethodDefined By  CommandBuffer() 创建...

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

733. 性能测试-虫子(慎入) [ 73%]

...Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private texturePath:string = "../../res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBound...

来源: Laya_示例 发布时间: 20241118

734. 滤镜-发光滤镜 [ 73%]

...LayaAirIDE让项目开发更高效。let apePath = "res/apes/monkey2.png"; class Filters_Glow { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.A...

来源: Laya2.0_示例 发布时间: 20241118

735. Sprite-显示图片 [ 73%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_DisplayImage { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 2D场景不显示时打开 Laya.Config.isAntialias = true; // 2D场景显示错乱时打开 Laya.Config.useW...

来源: Laya2.0_示例 发布时间: 20241118

736. laya.d3.core.particleShuriKen.module.shape.BaseShape [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class BaseShapeInheritanceBaseShape ObjectImplements laya.d3.core.ICloneSubclasses BoxShape, CircleShape, ConeShape, HemisphereSh...

来源: laya_api 发布时间: 20170929

737. laya.d3.core.particleShuriKen.module.shape.BaseShape [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class BaseShapeInheritanceBaseShape ObjectImplements laya.d3.core.ICloneSubclasses BoxShape, CircleShape, ConeShape, HemisphereSh...

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

738. laya.d3.core.GeometryFilter [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeometryFilterProperties | Methods Packagelaya.d3.coreClasspublic class GeometryFilterInheritanceGeometryFilter EventDispatcher ObjectImplements laya.resource.IDestroySubclasses MeshFilter, ShurikenParticleSystem, Terrai...

来源: laya_api 发布时间: 20170929

739. laya.d3.graphics.VertexPositionNormalColorTangent [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTangentInheritanceVertexPositionNormalColorTangent ObjectImplements IVertex VertexPositionNormalColor...

来源: laya_api 发布时间: 20170929

740. laya.d3.graphics.VertexPositionNormalColorTexture [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureInheritanceVertexPositionNormalColorTexture ObjectImplements IVertex VertexPositionNormalColor...

来源: laya_api 发布时间: 20170929