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

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

1421. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 49%]

...ya/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem Class ShurikenParticleSystem ShurikenParticleSystem 类用于创建3D粒子数据模板。 Hierarchy GeometryElement ShurikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Prope...

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

1422. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 49%]

... Globals "laya/d3/component/Volume/VolumetricGI/VolumetricGI" VolumetricGI Class VolumetricGI Hierarchy Volume VolumetricGI Index Constructors constructor Properties _extra _singleton intensity owner probeCounts probeStep runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed distance...

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

1423. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 49%]

... = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.init(Browser.width, Browser.height, WebGL);         // Laya.stage.scaleMode = S...

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

1424. laya.d3.physics.PhysicsCollider_API3.0 [ 48%]

...ly exported Menu Globals "laya/d3/physics/PhysicsCollider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath ...

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

1425. as hello world 背景还是黑色 [ 48%]

...d 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.color = "#000000...

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

1426. LayaAir开发笔记(1)五十音图连连看 [ 48%]

...Count += 1; } 4.设置卡片 设置8×3个卡片,正常来说,应该用class封装一下,但是本人偷懒,直接弄了两个数组,一个是card,主要是监听鼠标点击Laya.Event.CLICK事件,用color属性标记对错,用winCount记录成功对数,当成功数达到12时,...

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

1427. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 48%]

... /** * 微信不带ImageData,需重写,记得赋值到window */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(wi...

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

1428. laya.ui.Tree_API3.0 [ 48%]

...ted All Inherited Externals Only exported Menu Globals "laya/ui/Tree" Tree Class Tree Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 example package { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function...

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

1429. 内存释放问题 [ 48%]

LayaAir引擎 内存释放问题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @mem...

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

1430. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 48%]

...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.light.LightSprite)。 除此之外,还要需要在模型上设置投影属性。 **receiveShadow:**是否接受阴影,当模型此属性为true时,计算出的阴影会在此模型上显示出来。...

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