大约有 572 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...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
...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
...1 组件属性 在这个地形背景层级上,添加一个sprite,用于创建导航网格。给sprite添加2D导航网格表面组件,如图2-2所示, (图2-2) 添加后的组件如图2-3所示, (图2-3) 分别介绍其属性: 2.1.1 代理类型agentType 用于指定在该导航...
来源: Laya3.0_文档 发布时间: 20251010
...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
...中应用和显示这个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
...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
...感觉不到。那么我们就来修改下,看看怎么改变样式。 //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity...
来源: Laya3.0_文档 发布时间: 20251010
...ightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix li...
来源: Laya3.0_api 发布时间: 20231115
...e/light/AreaLightCom" AreaLightCom Class AreaLightCom LightSprite 类用于创建灯光的父类。 Hierarchy Light AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix l...
来源: Laya3.0_api 发布时间: 20231115
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Overrides Component.onDestroy Defined in laya/d3/component/HLOD/HLOD.ts:160 Returns void onDisable onDisable(): void Overrides Component.onDisab...
来源: Laya3.0_api 发布时间: 20231115