大约有 2,985 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1072) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(78)
...: 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
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
...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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
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
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
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
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTangentInheritanceVertexPositionNormalColorTangent ObjectImplements IVertex VertexPositionNormalColor...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureInheritanceVertexPositionNormalColorTexture ObjectImplements IVertex VertexPositionNormalColor...
来源: laya_api 发布时间: 20170929