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

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

181. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 65%]

...rIn);              }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.E...

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

182. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 65%]

...derShape.ts:22 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns SphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback ...

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

183. Config_API3.0 [ 65%]

...擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fixedFrames isAlpha isAntialias isDepth isStencil isfailIfMajorPerformanceCaveat powerPreference premultipliedAlpha preserveDrawingBuffer printWebglOrder useRetina...

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

184. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 65%]

...derShape.ts:16 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns CannonSphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallb...

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

185. laya.d3.core.BaseCamera_API3.0 [ 65%]

...aya/d3/core/BaseCamera.ts:307 创建一个 BaseCamera 实例。 Parameters Default value nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns BaseCamera Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts...

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

186. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 65%]

...uctors constructor Properties _extra _isScene _scene _url name TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors active activeInHierarchy boundsMax boundsMin boxProjection components destroyed displayedInStage hideFlags id importance intensity is3D layer numChildren parent probePosition reflection...

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

187. spine动画放大后,遮罩显示不正常 [ 65%]

...详细设置见下图代码和附件DEMO中的TestScene.scene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = ...

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

188. 提示错误在laya.core.js里 [ 65%]

...次导入就出问题了。是要把unity场景导入到laya2.6. export default class SceneLoad extends Laya.Script{     constructor(){         super();     }     onAwake(){         Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,funct...

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

189. 动画状态脚本(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 64%]

... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行...

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

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

... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态...

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