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

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

61. laya.d3.core.light.PointLightCom_API3.0 [ 74%]

...n shadowStrength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PointLightCom(): PointLightCom Overrides Light.constructor Defined in laya/d3/core/light/PointLi...

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

62. laya.components.Script_API3.0 [ 74%]

...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

63. laya.d3.core.light.SpotLightCom_API3.0 [ 74%]

...rength spotAngle Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new SpotLightCom(): SpotLightCom Overrides Light.constructor Defined in laya/d3/core/light/SpotLight...

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

64. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 73%]

... getPhysicsSimulation getcurrentForce getcurrentTorque hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setConnectRigidBody setConstraintEnabled setFrames setOverrideNumSolverIterations Constructors constructor new FixedConstrain...

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

65. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 73%]

...Owner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PhysicsTriggerComponent(collisionGroup: number, canCollideWith: number): PhysicsTriggerComponent...

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

66. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 73%]

... _removeRenderNode _setOwner applyVolumetricGI destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new VolumetricGI(): VolumetricGI Overrides Volume.constructor Defined in laya/d3/component/Volume/Vo...

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

67. laya.d3.physics.PhysicsCollider_API3.0 [ 73%]

...Owner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PhysicsCollider(collisionGroup?: number, canCollideWith?: number): PhysicsCollider Overrides Phy...

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

68. laya.d3.component.Animator_API3.0 [ 73%]

...atorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructors constructor new Animator(): Animator Overrides Component.constructor...

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

69. 资源加载 · LayaAir3.0文档 · LAYABOX [ 73%]

...operty } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图...

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

70. 音频节点 · LayaAir3.0文档 · LAYABOX [ 73%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.sound.source = "resources/sound.wav"; //音频路径 this.sound.loop = 0; //循环次数设置,要放在autoPlay参数设置前 this.sound.autoPlay = true; //自动播放 this.sound.isMusic = false; //...

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