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

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

231. laya.components.KeyframeNodeList2D_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/KeyframeNodeList2D" KeyframeNodeList2D Class KeyframeNodeList2D Hierarchy KeyframeNodeList2D Index Accessors count Methods getNodeByIndex setNodeByIndex Accessors count get count(): numb...

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

232. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/pbr/PBRShaderLib" PBRShaderLib Class PBRShaderLib Hierarchy PBRShaderLib Index Properties DEFINE_ANISOTROPY DEFINE_CLEARCOAT DEFINE_CLEARCOAT_NORMAL DEFINE_EMISSION Methods init Propertie...

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

233. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 77%]

...脚本,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTrig...

来源: Laya3.0_文档 发布时间: 20241014

234. laya.display.cmd.DrawPolyCmd_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawPolyCmd" DrawPolyCmd Class DrawPolyCmd 绘制多边形 Hierarchy DrawPolyCmd Index Properties fillColor lineColor lineWidth points x y ID Methods recover Properties fillColor fillCo...

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

235. 调试-帧率统计 [ 77%]

...})();module laya { import Browser = Laya.Browser; import Stat = Laya.Stat; export class Debug_FPSStats { constructor() { Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); } } } new laya.Debug_FPSStats();package { import ...

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

236. laya.d3.core.particleshuriken.module.ColorOverLifetime_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/ColorOverLifetime" ColorOverLifetime Class ColorOverLifetime ColorOverLifetime 类用于粒子的生命周期颜色。 Hierarchy ColorOverLifetime Index Constructors...

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

237. laya.d3.text.TextMesh_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/text/TextMesh" TextMesh Class TextMesh TextMesh 类用于创建文本网格。 Hierarchy TextMesh Index Constructors constructor Accessors color fontSize text Constructors constructor new TextMe...

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

238. laya.utils.SpriteUtils_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/SpriteUtils" SpriteUtils Class SpriteUtils Hierarchy SpriteUtils Index Methods fitDOMElementInArea getGlobalPosAndScale getTransformRelativeToWindow Methods Static fitDOMElementInArea fitDOME...

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

239. laya.d3.core.particleshuriken.module.SizeOverLifetime_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/SizeOverLifetime" SizeOverLifetime Class SizeOverLifetime SizeOverLifetime 类用于粒子的生命周期尺寸。 Hierarchy SizeOverLifetime Implements IClone Index...

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

240. laya.device.media.Media_API3.0 [ 77%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否...

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