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

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

71. laya.particle.emitter.EmitterBase_API3.0 [ 67%]

...Defined in laya/particle/emitter/EmitterBase.ts:92 时钟前进 Parameters Default value passedTime: number = 1 前进时间 Returns void clear clear(): void Defined in laya/particle/emitter/EmitterBase.ts:75 清理当前的活跃粒子 Returns void emit emit(): void Defined in laya/particle/emitter...

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

72. laya.d3.math.Quaternion_API3.0 [ 67%]

...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...

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

73. Laya_API3.0 [ 67%]

...gJsPath?: string): void Defined in Laya.ts:269 开启DebugPanel Parameters Default value debugJsPath: string = "libs/laya.debugtool.js" laya.debugtool.js文件路径 Returns void Static init init(stageConfig?: IStageConfig): Promise<void> init(width: number, height: number, ...plugins: any[]):...

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

74. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 67%]

...staticVersion = JSON.parse(file.contents.toString()) let content = `export default ${file.contents.toString()}` file.contents = new Buffer(content) this.push(file) return cb() }); }()) .pipe(gulp.dest('.')) }) /** 图集资源添加时间戳 */ gulp.task('updata_atlas_version',['create:hash'], () =&...

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

75. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 67%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/BaseShape" ParticleSystemShapeType BaseShape constructor enable randomDirection sh...

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

76. laya.d3.component.Animator_API3.0 [ 67%]

...dState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructors constructo...

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

77. laya.d3.math.native.ConchQuaternion_API3.0 [ 66%]

...rnion Implements IClone Index Constructors constructor Properties elements DEFAULT NAN Accessors w x y z Methods clone cloneTo equals fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling add createFromAxisAngle createFromMatrix3x3 createFromMatrix4...

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

78. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? [ 66%]

...个时候它并不会被打入bundle.js, 得把这段代码改成export default class asd { }才能在bundle.js里找到它??   有没有什么方法或者构建选项可以不用写那么多export和import吗? 因为现在项目用的1.0版本基本都快完成了,之前都是不写import...

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

79. laya.maths.Matrix_API3.0 [ 66%]

...hs/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选)缩放或旋转图像时影响像素沿 x 轴定位的值。 Default value b: number = 0 (可选)旋转或倾斜图像时影响像素沿 y 轴定位的值。 Default value c: number...

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

80. 今天升级到2.0,有个问题搞懵逼了。求解 [ 66%]

...里我还的Import 20+次? 而且被导入文档 首行必须有 export default class******* 这升级后 怎么写起来更麻烦了?还是说我没找到简便方式?? 求解 图1: 图2   问题二: 例如1.9我可以这样使用带命名空间的文档,,但是由于2.0需要Impo...

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