大约有 1,163 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya3.0_api(314) Laya_社区(299) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(34) Laya2.0_示例(3)
...entDataInt" GradientDataInt Class GradientDataInt GradientDataInt 类用于创建整形渐变。 Hierarchy GradientDataInt Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new GradientDataInt(): GradientDataInt Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...tate" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState currentState duration normalizedTime Constructors constructor new AnimatorPlayState(): AnimatorPlayState Def...
来源: Laya3.0_api 发布时间: 20231115
...onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...先登录 发起人 ccloving 相关问题 子级和父级的对齐问题 创建动效模板 可能存在bug 关于动画模板 除了官网的介绍有没有什么比较好的 实例 或者demo的没有?感觉官网上的有点太简单。 动画模板只是拖到控件上就可以使用?是不...
来源: Laya_社区 发布时间: 20180402
...Classpublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获...
来源: Laya2.0_api 发布时间: 20190513
tiledMap类createMap()创建地图 如何理解这个viewRect视口区 我的理解是:这个viewRect视口区是地图的显示区域 通过改变这个区域来实现地图的移动,视口区大小应该填地图的物理宽高(官网示例填的是设备的物理宽高 不知道是怎...
来源: Laya_社区 发布时间: 20180612
... Menu Globals "laya/d3/core/UI3D/UI3D" UI3D Class UI3D BaseCamera 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked bil...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...展,而标签位于轨道的左右两侧。 example 以下示例代码,创建了一个 VSlider 实例。 package { import laya.ui.HSlider; import laya.ui.VSlider; import laya.utils.Handler; public class VSlider_Example { private var vSlider:VSlider; public function VSlider_Example() { Laya.init(...
来源: Laya3.0_api 发布时间: 20231115