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

大约有 1,229 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

461. 粒子-粒子演示2 [ 69%]

...import Stat = Laya.Stat; import WebGL = Laya.WebGL; import URL = Laya.URL; export class Particle_T2 { private sp: Particle2D; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...

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

462. 粒子-粒子演示3 [ 69%]

...import Stat = Laya.Stat; import WebGL = Laya.WebGL; import URL = Laya.URL; export class Particle_T3 { private sp: Particle2D; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...

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

463. laya.d3.math.BoundSphere_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/BoundSphere" BoundSphere Class BoundSphere BoundSphere 类用于创建包围球。 Hierarchy BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessor...

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

464. laya.d3.core.GeometryElement_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/GeometryElement" GeometryElement Class GeometryElement GeometryElement 类用于实现几何体元素,该类为抽象类。 Hierarchy GeometryElement PixelLineFilter SubMesh ScreenQuad Shur...

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

465. laya.resource.AssetDb_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/AssetDb" AssetDb Class AssetDb 此类用来描述资源 Hierarchy AssetDb Index Properties metaMap shaderNameMap uuidMap inst Methods URL_to_UUID_async UUID_to_URL UUID_to_URL_async getMet...

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

466. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/ConeShape" ConeShape Class ConeShape ConeShape 类用于创建锥形粒子形状。 Hierarchy BaseShape ConeShape Implements IClone Index Constructors construc...

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

467. laya.device.geolocation.Geolocation_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/geolocation/Geolocation" Geolocation Class Geolocation 使用前可用supported查看浏览器支持。 Hierarchy Geolocation Index Constructors constructor Properties PERMISSION_DENIED POSI...

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

468. 加载-多种类型资源加载 [ 68%]

...;module laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "../../res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "../../res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var ...

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

469. 加载-多种类型资源加载 [ 68%]

...;module laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Arra...

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

470. laya.net.Downloader_API3.0 [ 68%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Downloader" Downloader Class Downloader Hierarchy Downloader Index Properties httpRequestPool Methods audio common image imageWithBlob imageWithWorker Properties httpRequestPool httpRequestPool...

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