大约有 269 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0051 秒)
Laya_社区(103) Laya3.0_api(67) Laya3.0_文档(27) Laya2.0_文档(25) laya_api(24) Laya2.0_api(22) Laya2.0_示例(1)
...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
...Point.interpolate在layaAir下如何实现? 解答:在AS3中,Point创建的是一个对象,封装了很对方法供公开发者使用。LayaAir下,为了性能考虑,Point不再是一个对象,而是一个包含X,Y值的坐标,类似interpolate方法我们没有直接提供接口...
来源: Laya_社区 发布时间: 20160627
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Retu...
来源: Laya3.0_api 发布时间: 20231115
...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
...ConstraintComponent Class ConstraintComponent ConstraintComponent 类用于创建约束的父类。 Hierarchy Component ConstraintComponent ConfigurableConstraint FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115
...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
...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...
来源: Laya2.0_文档 发布时间: 20210715
...属性中的**sharedMesh** 就是模型的网格,可以对它进行重新创建更换及销毁。 在下面示例中,我们给按钮加了添加了个点击事件。每次点击index值自加,然后根据index值修改从场景ls中获取到的模型网格。 ```typescript //新建四个mesh v...
来源: Laya2.0_文档 发布时间: 20210714
...属性中的**sharedMesh** 就是模型的网格,可以对它进行重新创建更换及销毁。 在下面示例中,我们给按钮加了添加了个点击事件。每次点击index值自加,然后根据index值修改从场景ls中获取到的模型网格。 ```typescript //新建四个mesh v...
来源: Laya2.0_文档 发布时间: 20210715
... Bloom效应使图像中的明亮区域发光。为了做到这一点,它创建的边缘光从明亮的领域扩展到你的形象。这模拟了真实世界中的照相机在光线淹没镜头时所产生的效果。布鲁姆效果也有一个肮脏的功能,你可以用它来应用一个全屏...
来源: Laya3.0_文档 发布时间: 20240910