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

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

631. 移除ANI [ 62%]

...      Laya.stage.addChild(ani);//显示动画     } 我在场景中创建了 点击按钮 创建了很多 的ANI 动画   请问 当我返回首页的时候 如何清除 这些所有的ANI动画   我返回首页 场景虽然切换了 但是 动画依然存在   private backindex():void{...

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

632. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 62%]

# 创建动效模板(EffectAnimation) ### 1、什么是动效模板 动效模板是基于时间轴的动画效果,通过预设动画效果,然后把效果附加给某个组件。使得组件无需编码,却轻松实现与编码相同的动画效果。动效模板不能独立显示,仅可作...

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

633. laya.ui.View [ 62%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

来源: Laya2.0_api 发布时间: 20190513

634. laya.ui.LayoutBox [ 62%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

来源: Laya2.0_api 发布时间: 20190513

635. laya.filters.NativeFilter_API3.0 [ 62%]

...ew NativeFilter(): NativeFilter Defined in laya/filters/NativeFilter.ts:26 创建一个 Filter 实例。 Returns NativeFilter Methods Static _filter _filter(this: RenderSprite, sprite: Sprite, context: any, x: number, y: number): void Defined in laya/filters/NativeFilter.ts:36 Parameters this: Rende...

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

636. laya.d3.utils.Physics3DUtils [ 62%]

...值。Physics3DUtilsPublic Methods  MethodDefined By  Physics3DUtils() 创建一个 Physics 实例。 Physics3DUtils  getIColliderCollision(collider1:PhysicsComponent, collider2:PhysicsComponent):Boolean[static] 获取是否忽略两个碰撞器的碰撞检测。 Physics3DUtils  setColliderCo...

来源: Laya2.0_api 发布时间: 20190513

637. laya.ui.List_API3.0 [ 62%]

...表。可通过UI编辑器自定义列表。 example 以下示例代码,创建了一个 List 实例。 package { import laya.ui.List; import laya.utils.Handler; public class List_Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 La...

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

638. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 62%]

...GradientDataVector2 Class GradientDataVector2 GradientDataVector2 类用于创建二维向量渐变。 Hierarchy GradientDataVector2 Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new GradientDataVector2(): GradientDataVect...

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

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

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

640. laya.ani.swf.MovieClip [ 62%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

来源: laya_api 发布时间: 20170929