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

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

181. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 65%]

...不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){ console....

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

182. 多重遮罩显示异常 [ 65%]

...anel显示,要么显示一部分或者消失,测试代码如下 export default class ClipView extends Laya.Sprite { constructor() { super(); this.init(); } init() { let bg = new Laya.Sprite(); bg.graphics.drawRect(0, 0, 500, 500, '#aaa'); this.addChild(bg); this.panel = new Laya.Panel(); this.pa...

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

183. 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

184. 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

185. 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

186. 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

187. 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

188. 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

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

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

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

190. 提示错误在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