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

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

441. laya.d3.core.light.DirectionLightCom_API3.0 [ 97%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Lig...

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

442. isTrigger时,LAYA的碰撞对象跟unity的不对,附上unity工程和laya工程 [ 97%]

isTrigger时,LAYA的碰撞对象跟unity的不对,附上unity工程和laya工程 需求为,跑酷游戏时,需要检测是否在木块上。我的伪算法是在脚下加了一个碰撞器footcollider,并为istrigger,当自身碰撞时,如果脚下footcollider在碰撞对象时,则...

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

443. 请问UI之间的场景切换要怎么写 [ 97%]

...ction(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign...

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

444. laya.d3.core.light.PointLightCom_API3.0 [ 97%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/PointLightCom" PointLightCom Class PointLightCom Hierarchy Light PointLightCom Index Constructors constructor Propert...

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

445. laya.physics.joint.DistanceJoint_API3.0 [ 97%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的...

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

446. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 97%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsComponent" CannonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerCompone...

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

447. laya.effect.EffectBase_API3.0 [ 97%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/EffectBase" EffectBase Class EffectBase 效果插件基类,基于对象池管理 Hierarchy Component EffectBase FadeIn Fad...

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

448. Uncaught TypeError: Cannot read property 'props' of undefined [ 97%]

...代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(n...

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

449. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 97%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/PBRSpecularMaterial" PBRSpecularMaterial Class PBRSpecularMaterial PBRSpecularMaterial 类用于实现PBR(Specular)材质。 Hierarchy PBRMaterial PBRSpecularMaterial Implements IClone Index Constructors...

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

450. 限制区域拖动效果,为什么会无法限制呢? [ 97%]

...!拖动一次后,直接跳出区域了。 /* * name; */  var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Handler = Laya.Handl...

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