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

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

1691. laya.display.Animation_API3.0 [ 39%]

...toSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWid...

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

1692. Laya中的宏编译要怎么用啊 [ 38%]

... byteArray:ByteArray = new ByteArray(); byteArray.writeInt(100); byteArray.position = 0; var value:int; /*[IF-FLASH]*/value = byteArray.readUnsignedInt(); //[IF-SCRIPT]value = byteArray.readInt(); }单行宏用法说明     1、AS3项目中 value = byteArray.readUnsignedInt(); 被正常执行,...

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

1693. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 37%]

...l.lh"); this.scene.addChild(this.role); //角色位置 this.role.transform.position = new Laya.Vector3(0,1,2); } } new LayaAir3D();   但发布到微信工具运行失败,提示错误如下:Wechat Lib:1.8.0, 2017.12.22 16:03:55 code.js:104 Warning!,this class[MiniAdpter] already exist: Object c...

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

1694. 2D光遮挡器与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...index++] = 3; const declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITION,UV"], false)[0]; const mesh2D = Laya.Mesh2D.createMesh2DByPrimitive([vertices], [declaration], indices, Laya.IndexFormat.UInt16, [{ length: indices.length, start: 0 }]); return mesh2D; } } 最终的效果如图3-1所...

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

1695. 新手引导 挖洞 不用 cacheAs="bitmap" 希望能帮助那些和我一样有需求的码农!你好我好大家好才是真的好!请各位大佬批评指教! [ 36%]

...为需要计算之后动态更改 -->     <div id="div1" style="position:absolute;left:0px;top:0px"><canvas id="canvas"></canvas></div>     <script type="text/javascript">         ///////////////////////////////////////////////////////////////////////...

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

1696. CPU粒子系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...算使用的速度。 ​ Transform:根据组件所属节点的Transform.position来估算速度 ​ Rigidbody:从组件所属节点上的刚体组件中获取速度值,相当于使用了物理引擎计算的速度。 ​ Custom:自定义速度,选择这个值后会出现EmitterVelocity这...

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

1697. viewportPointToRay产生的射线始终有偏差,是为什么? [ 35%]

...aya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); private _camera:Camera; private _ray:Ray = new Ray(...

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

1698. laya.display.Animation [ 34%]

... Sprite wrapMode : int = 0 播放顺序类型:AnimationPlayerBase.WRAP_POSITIVE为正序播放,AnimationPlayerBase.WRAP_REVERSE为倒序播放,AnimationPlayerBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改变播放顺序)。 默认为...

来源: laya_api 发布时间: 20170929

1699. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 34%]

...uriKen/ShurikenParticleSystem.ts:1975 Returns void addParticle addParticle(position: Vector3, direction: Vector3, time: number): boolean Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:1720 Parameters position: Vector3 direction: Vector3 time: number Returns boolean clearRenderPar...

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

1700. laya.d3.core.light.DirectionLight [ 34%]

... EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...

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