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

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

401. 动画状态脚本(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 69%]

...xt; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始播放"; } /** * 动画状态更新时执行...

来源: Laya2.0_文档 发布时间: 20210715

402. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 69%]

...里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 官网示例摇一摇报错,就解决方案 laya3D动画无法播放 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 求教: soundManager...

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

403. laya.d3.physics.PhysicsTriggerComponent [ 69%]

...oid[override] PhysicsComponent destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...

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

404. Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 [ 69%]

...下解决方法 Uncaught RangeError: Source is too large at Float32Array.set (native) at DynamicBatch.__proto._getRenderElement (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:5989:23) at DynamicBatch.__proto._addToRenderQueue (file:///D:/Projects_D/LayaPrjs/2017_FilesLa...

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

405. 给Dictionary添加个长度 [ 69%]

...置值。 * @param key 键名。 * @param value 值。 */ public function set(key:*, value:*):void { var index:int = indexOf(key); if (index >= 0) { _values[index] = value; return; } _keys.push(key); _values.push(value); ++_lenght; } /** * 获取指定对象的键名索引。 * @param key 键名...

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

406. laya.d3.component.AnimatorState_API3.0 [ 69%]

....0为正常播放速度。 Accessors clip get clip(): AnimationClip | null set clip(value: AnimationClip | null): void Defined in laya/d3/component/AnimatorState.ts:46 动作。 Returns AnimationClip | null Defined in laya/d3/component/AnimatorState.ts:50 动作。 Parameters value: AnimationClip | ...

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

407. 3D本地空间坐标(本节点有旋转过)转父空间坐标 [ 68%]

... 1 个回复 IXgSoul 赞同来自: 找到答案了,参见Rransform3D的 set position 里的               var parentInvMat: Matrix4x4 = Transform3D._tempMatrix0;             this._parent.worldMatrix.invert(parentInvMat);             Vector3.transformCoordi...

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

408. laya.d3.component.physics.SphereCollider [ 68%]

...tation     public function get center():Vector3    public function set center(value:Vector3):voidradiusproperty radius:Number 获取半径。 Implementation     public function get radius():Number    public function set radius(value:Number):voidConstructor DetailSphereCollider()Cons...

来源: laya_api 发布时间: 20170929

409. laya.physics.joint.GearJoint [ 68%]

...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...

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

410. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 68%]

... request.open("GET", url, true);             request.responseType = "arraybuffer";             request.onload = function () {                 if (me._disposed) {                     me._removeLoadEvents();            ...

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