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

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

271. laya.media.SoundManager [ 78%]

...音乐(不包括音效)是否静音。 SoundManager  musicVolume : Number = 1[static] 背景音乐音量。 SoundManager  muted : Boolean[static] 背景音乐和所有音效是否静音。 SoundManager  playbackRate : Number = 1[static] 声音播放速率。 SoundManager  soundMuted : Bo...

来源: laya_api 发布时间: 20170929

272. laya.display.Stage [ 78%]

... "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

来源: laya_api 发布时间: 20170929

273. laya.d3.core.MeshTerrainSprite3D [ 78%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  depth : Number[read-only] 获取地形Z轴长度。 MeshTerrainSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表...

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

274. laya.d3.physics.shape.CapsuleColliderShape [ 78%]

...roperties Show Inherited Public Properties PropertyDefined By  length : Number[read-only] 获取长度。 CapsuleColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback :...

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

275. laya.particle.ParticleSetting [ 77%]

...子配置数据类 Public Properties PropertyDefined By  ageAddScale : Number = 0如果大于0,某些粒子的持续时间会小于其他粒子,并具有随机性(单位:无)ParticleSetting  blendState : int = 0混合模式,待调整,引擎中暂无BlendState抽象ParticleSetting  box...

来源: laya_api 发布时间: 20170929

276. 资源版本管理问题,根据官方文档 layacmd 执行后资源加载不了 [ 77%]

...资源管理方式(老版本IDE默认类型)*/ static FOLDER_VERSION: number; /**基于文件名映射管理方式(新版本IDE默认类型)*/ static FILENAME_VERSION: number; 新版本IDE默认类型是FILENAME_VERSION, 请指教哪种方式更好些呢?

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

277. laya.display.cmd.FillTextureCmd_API3.0 [ 77%]

...e type width x y ID Methods getBoundPoints recover Properties color color: number = 4294967295 Defined in laya/display/cmd/FillTextureCmd.ts:50 (可选)绘图颜色 height height: number Defined in laya/display/cmd/FillTextureCmd.ts:34 (可选)高度。 Optional offset offset: Point Defined ...

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

278. laya.ui.Button_API3.0 [ 77%]

...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...

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

279. laya.utils.Utils_API3.0 [ 77%]

...or toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters value: string Returns number Static getBaseName getBaseName(path: string): string Defined in laya/utils/Utils.ts:129 获得路径中的文件名(包含扩展名) Paramet...

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

280. laya.d3.core.particleshuriken.module.TextureSheetAnimation_API3.0 [ 77%]

...Frame 开始帧。 Returns TextureSheetAnimation Properties cycles cycles: number = 0 Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:24 循环次数。 enable enable: boolean = false Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:28 是否启用 en...

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