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

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

11. UI滤镜效果 · LayaAir3.0文档 · LAYABOX [ 92%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //创建一个颜色滤镜对象 let colorFilter: Laya.ColorFilter = new Laya.ColorFilter(); //给Image组件添加颜色滤镜 this.img.filters = [colorFilter]; //设置滤镜颜色 colorFilter.color(0.5, 0.5...

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

12. 脚本的事件(JavaScript-3D基础(JS)-LayaAir3D的脚本使用) [ 92%]

...anguage=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对 `onAwake`,`onStart`,`onUpdate`,`onDisable` 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次...

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

13. laya.physics.joint.GearJoint_API3.0 [ 91%]

...s id joint ratio Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new GearJoint(): GearJoint Inherited from JointBase.constructor Overrides Component.constructor Defi...

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

14. laya.physics.joint.MouseJoint_API3.0 [ 91%]

...d 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.constructor Overrides Component.constructor De...

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

15. laya.physics.joint.PulleyJoint_API3.0 [ 91%]

...deFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PulleyJoint(): PulleyJoint Inherited from JointBase.constructor Overrides Component.constructor ...

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

16. laya.physics.joint.WeldJoint_API3.0 [ 90%]

...deFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new WeldJoint(): WeldJoint Inherited from JointBase.constructor Overrides Component.constructor Defi...

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

17. laya.physics.ColliderBase_API3.0 [ 90%]

...nsor restitution Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new ColliderBase(): ColliderBase Overrides Component.constructor Defined in laya/physics/ColliderBas...

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

18. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 90%]

...ution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CannonPhysicsComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsComponent O...

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

19. laya.components.Script_API3.0 [ 90%]

...led hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onCollisionEnter onCollisionExit onCollisionStay onDestroy onDisable onEnable onJointBreak onKeyDown onKeyPress onKeyUp onLateUpdate onMouseClick onMouseDoubleClick onMouseDown onMouseDrag onMouseDragEnd onMouseMove o...

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

20. 脚本的事件(TypeScript-3D基础(TS)-LayaAir3D的脚本使用) [ 90%]

...?language=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对onAwake,onStart,onUpdate,onDisable 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此...

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