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

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

1201. laya.d3.physics.PhysicsUpdateList_API3.0 [ 72%]

...ngletonList.ts:76 Returns void indexof indexof(element: PhysicsComponent): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: PhysicsComponent Returns number Globals "laya/d3/physics/PhysicsUpdateList" PhysicsUpdateList constructor destroy index...

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

1202. laya.d3.physicscannon.CannonPhysicsUpdateList_API3.0 [ 72%]

...nList.ts:69 Returns void indexof indexof(element: CannonPhysicsComponent): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: CannonPhysicsComponent Returns number Globals "laya/d3/physicsCannon/CannonPhysicsUpdateList" CannonPhysicsUpdateList c...

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

1203. 高级应用-闪光 [ 72%]

...rivate pos1: Laya.Vector3; private pos2: Laya.Vector3; private scaleDelta: number = 0; private scaleValue: number = 0; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya...

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

1204. 区块地图-等角地图 [ 71%]

...aded(): void { this.layer = this.tiledMap.getLayerByIndex(0); var radiusX: number = 32; var radiusY: number = Math.tan(180 / Math.PI * 30) * radiusX; var color: string = "#FF7F50"; this.sprite = new Sprite(); this.sprite.graphics.drawLine(0, 0, -radiusX, radiusY, color); this.sprite.graphics.drawLin...

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

1205. laya.display.cmd.TransformCmd_API3.0 [ 71%]

...ix Defined in laya/display/cmd/TransformCmd.ts:14 矩阵。 pivotX pivotX: number Defined in laya/display/cmd/TransformCmd.ts:18 (可选)水平方向轴心点坐标。 pivotY pivotY: number Defined in laya/display/cmd/TransformCmd.ts:22 (可选)垂直方向轴心点坐标。 Static ID ID: st...

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

1206. laya.display.cmd.DrawTexturesCmd_API3.0 [ 71%]

...Properties colors pos texture ID Methods recover Properties colors colors: number[] Defined in laya/display/cmd/DrawTexturesCmd.ts:21 附加顶点色 pos pos: ArrayLike<number> Defined in laya/display/cmd/DrawTexturesCmd.ts:18 绘制次数和坐标。 texture texture: Texture Defined in laya/d...

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

1207. laya.d3.component.staticmesh.StaticBatchSubInfo_API3.0 [ 71%]

...SubMesh.ts:16 Returns StaticBatchSubInfo Properties indexCount indexCount: number Defined in laya/d3/component/staticmesh/StaticBatchSubMesh.ts:12 indexStart indexStart: number Defined in laya/d3/component/staticmesh/StaticBatchSubMesh.ts:11 meshBounds meshBounds: Bounds Defined in laya/d3/component...

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

1208. [LayaAir3]3.3.2与设置组件灰显相关的 Bug 和 Crash [ 71%]

... interface AnimatorPlayScriptInfo { animator: Laya.Animator2D; layerindex: number; playState: Laya.AnimatorState2D; } /** * 继承自AnimatorStateScript(动画状态脚本) */ @regClass() export class AnimationScript2D extends Laya.AnimatorState2DScript { /**动画的状态信息 */ playStateInfo: A...

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

1209. 缓动 · LayaAir3.4 · 引擎文档 · LAYABOX [ 71%]

...持非主流的new Tween()用法。 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外...

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

1210. laya.d3.renderobjs.renderobj.FastSinglelist_API3.0 [ 71%]

...n laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: T): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: T Returns number Globals "laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ" FastSinglelist constructor destroy ind...

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