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

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

1. laya.utils.Timer_API3.0 [ 100%]

...cessors delta Methods callLater clear clearAll clearCallLater destroy frameLoop frameOnce loop once pause resume runCallLater runTimer toString Constructors constructor new Timer(autoActive?: boolean): Timer Defined in laya/utils/Timer.ts:34 创建 Timer 类的一个实例。 Parameters Default valu...

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

2. laya.media.SoundChannel_API3.0 [ 98%]

...hy EventDispatcher SoundChannel Index Properties completeHandler isStopped loops startTime url Accessors duration position volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties completeHandler completeHandler: Handler Defined in laya/media/SoundChannel.ts...

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

3. laya.media.SoundManager_API3.0 [ 95%]

...声音播放地址。 Returns void Static playMusic playMusic(url: string, loops?: number, complete?: Handler, startTime?: number): SoundChannel Defined in laya/media/SoundManager.ts:353 播放背景音乐。背景音乐同时只能播放一个,如果在播放背景音乐时再次调用本方法...

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

4. laya.components.AnimatorState2D_API3.0 [ 95%]

...orState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorStat...

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

5. laya.physics.ChainCollider_API3.0 [ 94%]

... Accessors awaked density destroyed enabled friction hideFlags id isSensor loop points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new ChainColli...

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

6. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 94%]

...mestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate referenceSpace sessionMode supportedFrameRates Methods destroy endXRRenderLoop event exitXR hasListener initializeAsync initializeSessionAsync initializeXRGL isSessionSupporte...

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

7. laya.media.Sound_API3.0 [ 80%]

...Optional args: any[] Returns EventDispatcher play play(startTime?: number, loops?: number): SoundChannel Defined in laya/media/Sound.ts:24 播放声音。 Parameters Default value startTime: number = 0 开始时间,单位秒 Default value loops: number = 0 循环次数,0表示一直循环 Returns So...

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

8. laya.media.VideoTexture_API3.0 [ 74%]

...lterMode format frameRender gammaCorrection gammaSpace gpuMemory height id loop maxMipmapLevel mipmap mipmapCount muted obsolute paused playbackRate preload readyState referenceCount seekable seeking source videoHeight videoWidth volume width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods...

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

9. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 71%]

...x dragSpeedConstantMin dragType duration gravityModifier isPerformanceMode looping playOnAwake prewarm randomSeed randomizeRotationDirection scaleMode simulationSpace simulationSpeed startColorConstant startColorConstantMax startColorConstantMin startColorType startDelay startDelayMax startDelayMin ...

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

10. laya.utils.TimeLine_API3.0 [ 69%]

...ine.ts:246 暂停整个动画。 Returns void play play(timeOrLabel?: any, loop?: boolean): void Defined in laya/utils/TimeLine.ts:262 播放动画。 Parameters Default value timeOrLabel: any = 0 开启播放的时间点或标签名。 Default value loop: boolean = false 是否循环播放。 Retur...

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