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

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

211. laya.physics.ColliderBase [ 86%]

...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...

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

212. laya.display.Animation_API3.0 [ 86%]

...帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.d...

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

213. laya.particle.ParticleTemplate2D_API3.0 [ 86%]

...dex Constructors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL ...

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

214. laya.d3.core.light.DirectionLight_API3.0 [ 86%]

...ldAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new DirectionLight(): DirectionLight Overrides LightSprite.constructor Defined in laya/d3/core/light/DirectionLight.ts:50 创建一个 DirectionLight...

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

215. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 86%]

...ToVertexBuffer addParticle clearRenderParams clone cloneTo emit pause play setDrawArrayParams setDrawElemenParams simulate stop Constructors constructor new ShurikenParticleSystem(render: ShurikenParticleRenderer, meshTopology?: MeshTopology, drawType?: DrawType): ShurikenParticleSystem Overrides Ge...

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

216. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 86%]

...entForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy getPhysicsSimulation getcurrentForce getcurrentTorque hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setConnectRig...

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

217. laya.physics.joint.MouseJoint_API3.0 [ 86%]

...stroyed enabled frequency hideFlags id joint maxForce Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MouseJoint(): MouseJoint Inherited from JointBase.construct...

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

218. Laya2.0 LocaRotationEuler引起LookAt的错误 [ 86%]

... bobo.transform.localRotationEulerX = 0;方案二:在laya.d3.js中,在set localRotationEulerX、set localRotationEulerY、set localRotationEulerZ等属性方法内进行修改,代码如下: set localRotationEulerX(value) { var localEuler = this.localRotationEuler; localEuler.x = value; this....

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

219. laya.d3.core.light.SpotLight_API3.0 [ 86%]

...ldAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.constructor Defined in laya/d3/core/light/SpotLight.ts:34 创建一个 SpotLight 实例。 Returns S...

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

220. laya.d3.resource.models.SubMesh_API3.0 [ 85%]

...ndexFormat instanceCount mode Methods clearRenderParams destroy getIndices setDrawArrayParams setDrawElemenParams setIndices Constructors constructor new SubMesh(mesh: Mesh): SubMesh Overrides GeometryElement.constructor Defined in laya/d3/resource/models/SubMesh.ts:50 创建一个 SubMesh 实例。...

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