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

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

131. laya.d3.physics.PhysicsComponent_API3.0 [ 50%]

...mponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 用于创建物理组件的父。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors ...

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

132. 请教各位前辈们,AS的一些API好像layabox没有,求解决方法或者思路,比如 Point 的interpolate方法 具体问题内详 [ 49%]

...Point.interpolate在layaAir下如何实现?   解答:在AS3中,Point创建的是一个对象,封装了很对方法供公开发者使用。LayaAir下,为了性能考虑,Point不再是一个对象,而是一个包含X,Y值的坐标,似interpolate方法我们没有直接提供接口...

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

133. laya.d3.component.LODGroup_API3.0 [ 49%]

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

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

134. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 49%]

...ded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;w...

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

135. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 49%]

...ConstraintComponent Class ConstraintComponent ConstraintComponent 用于创建约束的父。 Hierarchy Component ConstraintComponent ConfigurableConstraint FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor script...

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

136. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 49%]

...le laya.d3.component { /** * <code>Component3D</code> 用于创建组件的父。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: num...

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

137. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 49%]

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

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

138. 模型的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 48%]

...属性中的**sharedMesh** 就是模型的网格,可以对它进行重新创建更换及销毁。 在下面示例中,我们给按钮加了添加了个点击事件。每次点击index值自加,然后根据index值修改从场景ls中获取到的模型网格。 ```typescript //新建四个mesh v...

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

139. 模型的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 48%]

...属性中的**sharedMesh** 就是模型的网格,可以对它进行重新创建更换及销毁。 在下面示例中,我们给按钮加了添加了个点击事件。每次点击index值自加,然后根据index值修改从场景ls中获取到的模型网格。 ```typescript //新建四个mesh v...

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

140. 后处理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

... Bloom效应使图像中的明亮区域发光。为了做到这一点,它创建的边缘光从明亮的领域扩展到你的形象。这模拟了真实世界中的照相机在光线淹没镜头时所产生的效果。布鲁姆效果也有一个肮脏的功能,你可以用它来应用一个全屏...

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