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

大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0060 秒)

871. 文本基础样式(ActionScript-LayaAir基础篇(AS3)-文本) [ 71%]

...ng) ![2.png](img/2.png) ```java package { import laya.display.Text; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var txt:Text = new Text(); txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } ``` 这个时候我们就...

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

872. laya.net.ResourceVersion [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceVersionProperties | Methods | Constants Packagelaya.netClasspublic class ResourceVersionInheritanceResourceVersion Object 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过程...

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

873. 输入设备-摇一摇 [ 71%]

...目开发更高效。let picW = 824, picH = 484, console, shakeCount = 0; class InputDevice_Shake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL); L...

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

874. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureSheetAnimationProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class TextureSheetAnimationInheritanceTextureSheetAnimation ObjectImplements laya.d3.core.IClone TextureSheetAnimation 类...

来源: laya_api 发布时间: 20170929

875. laya.d3.graphics.VertexElementFormat [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexElementFormatConstants Packagelaya.d3.graphicsClasspublic class VertexElementFormatInheritanceVertexElementFormat Object ... Public Constants ConstantDefined By  Byte4 : String = byte4[static] VertexElementFormat...

来源: laya_api 发布时间: 20170929

876. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 71%]

... 动画播放基类: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.AnimationPlayerBase](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.AnimationBase) 动画类: [https://layaair.ldc.layabox.com/ap...

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

877. Sprite-遮罩-放大镜 [ 71%]

...开发更高效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...

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

878. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SphereShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class SphereShapeInheritanceSphereShape BaseShape Object SphereShape 类用于创建球形粒子形状。 Public Properties Hid...

来源: laya_api 发布时间: 20170929

879. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SphereShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class SphereShapeInheritanceSphereShape BaseShape Object SphereShape 类用于创建球形粒子形状。 Public Properties Hid...

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

880. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 71%]

...rted Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _getBoundBox calculateBoundsintersection clone cloneTo getCenter getExtent getMa...

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