大约有 7 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0022 秒)
...stants ConstantDefined By instance : MouseManager[static] MouseManager 单例引用。 MouseManagerProperty Detail_eventpropertypublic var _event:EventdisableMouseEventproperty public var disableMouseEvent:Boolean = false 是否禁用除 stage 以外的鼠标事件检测。enabledproperty publ...
来源: Laya2.0_api 发布时间: 20190513
...设置gravity.y=-1; Physics I : Physics[static] [read-only] 全局物理单例Physics PIXEL_RATIO : int = 50[static] 2D游戏默认单位为像素,物理默认单位为米,此值设置了像素和米的转换比率,默认50像素=1米Physics positionIterations : int = 3位置迭代次...
来源: Laya2.0_api 发布时间: 20190513
...impleSingletonList SingletonList Object SimpleSingletonList 类用于实现单例队列。 Public Methods MethodDefined By SimpleSingletonList() 创建一个新的 SimpleSingletonList 实例。 SimpleSingletonListConstructor DetailSimpleSingletonList()Constructorpublic function SimpleSingletonL...
来源: Laya2.0_api 发布时间: 20190513
...nList, PhysicsUpdateList, SimpleSingletonList SingletonList 类用于实现单例队列。 Public Methods MethodDefined By SingletonList() 创建一个新的 SingletonList 实例。 SingletonListConstructor DetailSingletonList()Constructorpublic function SingletonList() 创建一个新的 Singl...
来源: Laya2.0_api 发布时间: 20190513
...spatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值...
来源: Laya2.0_api 发布时间: 20190513
... class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties PropertyDefined By currFrame : int = 0 当前的帧数。Timer currTimer : Number 当前帧开始的时间。Timer delta : i...
来源: Laya2.0_api 发布时间: 20190513
...的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模式,帧率越高...
来源: Laya2.0_api 发布时间: 20190513