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

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

511. laya.d3.component.volume.Volume_API3.0 [ 40%]

...des Component.constructor Defined in laya/d3/component/Volume/Volume.ts:42 创建一个Volume实例 Returns Volume Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited fr...

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

512. laya.physics.joint.JointBase_API3.0 [ 39%]

...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...

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

513. laya.d3.component.LODGroup_API3.0 [ 39%]

...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Retu...

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

514. laya.d3.core.light.SpotLightCom_API3.0 [ 39%]

...ore/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBa...

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

515. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 39%]

...erComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors aw...

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

516. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...1 组件属性 在这个地形背景层级上,添加一个sprite,用于创建导航网格。给sprite添加2D导航网格表面组件,如图2-2所示, (图2-2) 添加后的组件如图2-3所示, (图2-3) 分别介绍其属性: 2.1.1 代理类型agentType 用于指定在该导航...

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

517. laya.d3.physics.PhysicsCollider_API3.0 [ 38%]

...csCollider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThresh...

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

518. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 38%]

...中应用和显示这个img。我们新建个项目。这里用AS语言来创建项目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "...

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

519. laya.d3.component.Animator_API3.0 [ 38%]

...als "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALWAYSANIMATE CULLINGMODE_CULLCOMPLETELY Accessors avatar awa...

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

520. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...感觉不到。那么我们就来修改下,看看怎么改变样式。 //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity...

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