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

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

301. laya.utils.SpriteUtils_API3.0 [ 81%]

... Externals Only exported Menu Globals "laya/utils/SpriteUtils" SpriteUtils Class SpriteUtils Hierarchy SpriteUtils Index Methods fitDOMElementInArea getGlobalPosAndScale getTransformRelativeToWindow Methods Static fitDOMElementInArea fitDOMElementInArea(dom: any, coordinateSpace: Sprite, x: number, ...

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

302. laya.d3.core.particleshuriken.module.SizeOverLifetime_API3.0 [ 81%]

...s "laya/d3/core/particleShuriKen/module/SizeOverLifetime" SizeOverLifetime Class SizeOverLifetime SizeOverLifetime 类用于粒子的生命周期尺寸。 Hierarchy SizeOverLifetime Implements IClone Index Constructors constructor Properties enable Accessors size Methods clone cloneTo Constructors c...

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

303. 继承Scene没有onEnable [ 81%]

... Laya.Scene.root.addChild(t);     } } //激活启动类 new Main();  class tt extends Laya.Node{     constructor(){         super();     }     public onAwake():void{         console.log(1111);     } }   2.继承Sprite 执行后会有onAwake         let...

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

304. laya.device.media.Media_API3.0 [ 81%]

...rited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否支持。 NOTE: 目前Media在移动平台只支持Andro...

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

305. 编译前(AS)和编译后(JavaScript)程序的行为是不一致的,求最佳实践和原理。 [ 81%]

...,有没有在文档醒目的位置提醒开发者啊。package { public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var func:Function = new A().method; func(); } } } package { public class A { private var _attr:int = 123; public function A() { } public...

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

306. laya.html.XMLUtils_API3.0 [ 81%]

...herited Externals Only exported Menu Globals "laya/html/XMLUtils" XMLUtils Class XMLUtils Hierarchy XMLUtils Index Methods decodeString encodeString getBool getFloat getInt getString Methods Static decodeString decodeString(aSource: string): string Defined in laya/html/XMLUtils.ts:2 Parameters aSour...

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

307. laya.d3.renderobjs.nativeobj.NativeCullPassBase_API3.0 [ 81%]

...u Globals "laya/d3/RenderObjs/NativeOBJ/NativeCullPass" NativeCullPassBase Class NativeCullPassBase Hierarchy NativeCullPassBase Implements ICullPass Index Constructors constructor Accessors cullList Methods cullByCameraCullInfo cullByShadowCullInfo cullingSpotShadow Constructors constructor new Nat...

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

308. laya.d3.core.particleshuriken.module.RotationOverLifetime_API3.0 [ 81%]

...d3/core/particleShuriKen/module/RotationOverLifetime" RotationOverLifetime Class RotationOverLifetime RotationOverLifetime 类用于粒子的生命周期旋转。 Hierarchy RotationOverLifetime Implements IClone Index Constructors constructor Properties enable Accessors angularVelocity Methods clone...

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

309. laya.d3.core.particleshuriken.module.GradientDataInt_API3.0 [ 81%]

...als "laya/d3/core/particleShuriKen/module/GradientDataInt" GradientDataInt Class GradientDataInt GradientDataInt 类用于创建整形渐变。 Hierarchy GradientDataInt Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new Gr...

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

310. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 81%]

...u Globals "laya/d3/component/Animator/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState currentState duration normalizedTime Constructors constru...

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