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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)

1741. laya.d3.renderobjs.nativeobj.NativeRenderContext3DOBJ_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ" NativeRenderContext3DOBJ Class NativeRenderContext3DOBJ Hierarchy NativeRenderContext3DOBJ Imp...

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

1742. 刚升级了2.0正式版 PhysicsComponent问题 [ 56%]

...个碰撞组件 死亡销毁就报 _nativeColliderObject 空对象错误 public function _derivePhysicsTransformation(force:Boolean):void { if(_nativeColliderObject==null)return;//我加了这个 _innerDerivePhysicsTransformation(_nativeColliderObject.getWorldTransform(), force); } 附件 : --> 2019...

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

1743. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D" NativeVertexBuffer3D Class NativeVertexBuffer3D Hierarchy VertexBuffer3D NativeVertexBuffer3D Inde...

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

1744. TS 如何输出真正的私有变量 [ 56%]

...真正的私有变量 ------------------------------- TS 的权限修饰 public private 只是编译器约束,用TS编译好JS给别人用,都是挂在this或原型上,private 不应该是闭包域里的普通变量么  附件 : --> 2019-02-25 添加评论 免费帖 --> 分享 微博 QZONE...

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

1745. 请教Laya.timer.once如何设置回调参数 [ 56%]

请教Laya.timer.once如何设置回调参数 看到API文档上描述是 public function once(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组...

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

1746. @prop 声明格式能否自定义? 太繁琐了 [ 56%]

...? @prop {name:pgs, type:Node} 还有type:Node, 既然代码定义都是public pgs: Laya.Node; 为什么不直接type:Laya.Node,很多新手不仔细对比文档容易犯错吧,上手慢。 2018-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

1747. Trigge重写问题(已解决) [ 56%]

...何反应(BoxCollider在unity也确实编辑在MeshSprite3D物体上) public onTriggerStay(other: Laya.Collider): void{ console.log("触发:onTriggerEnter"); }     (忽略了Rigidbody); 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

1748. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 56%]

...port laya.utils.Handler; import laya.utils.Utils; import laya.webgl.WebGL; public class UI_Tree { public function UI_Tree() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage...

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

1749. LayaFlash下如何对音量进行控制? [ 56%]

...是可以通过SoundChannel.soundTransform.volume去设置 示例如下: public function init(e:Event):void { var sound:Sound=new Sound(); sound.load(new URLRequest("xxx.xxx.xxx")); var sc:SoundChannel=sound.play(); var st:SoundTransform=new SoundTransform(); st.volume=0.5; sc.soundTransform=s...

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

1750. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...用的别名", tips: "这是一个文本对象,只能输入文本哦" }) public text1: string = ""; //装饰器属性类型的简写方式,适用于只定义类型的需求 @property(String) public text2: string = ""; } } @property()是IDE识别组件属性并显示到IDE属性面板上的装饰...

来源: Laya3.0_文档 发布时间: 20251010