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

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

201. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...videoPlane: Laya.Sprite3D; private videoTexture = new Laya.VideoTexture(); onAwake(): void { //获取场景中要添加视频纹理的3D节点 this.videoPlane = this.scene.getChildByName("Plane") as Laya.Sprite3D; //使用指定路径的视频文件 this.createVideo("resources/mov_bbb.mp4"); } //创...

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

202. laya.physics.joint.RopeJoint [ 54%]

...ted Methods MethodDefined By  _createJoint():void[override] RopeJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty DetailcollideConnectedpropertypublic var collideConnected:Boolean = false[首次设置有效]两个刚体...

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

203. laya.physics.joint.WeldJoint [ 53%]

...ted Methods MethodDefined By  _createJoint():void[override] WeldJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty Detailanchorpropertypublic var anchor:Array[首次设置有效]关节的链接点,是相对于自身刚...

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

204. laya.d3.core.light.PointLight_API3.0 [ 53%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLi...

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

205. laya.d3.core.BaseCamera_API3.0 [ 53%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerO...

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

206. laya.d3.core.light.SpotLight_API3.0 [ 53%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLig...

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

207. UNITY导出的模型旋转不了 [ 53%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake() { //得到3D对象 this.obj = this.owner; } onStart() { } /** * 覆写组件更新方法(相当于帧循环) */ onUpdate() { //所属脚本对象旋转更新 this.obj.transform.rotate(this.rotation, false, false) ...

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

208. [LayaAir3]3.3BETA4-2D动态刚体allow rotation关闭无效 [ 53%]

...动画按钮左面那个红色按钮)   3.你的代码中PlayerCtr类的onAwake和onStart方法设置了两次allowRotation属性 2025-06-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 东林 相关问题 Dialog:屏蔽点击Dialo...

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

209. drawToCanvas绘制显示不全 [ 53%]

...ends TestViewUI {     constructor() {         super();     }     onAwake() {         this.nativeImg = new Image();         let style = this.nativeImg.style;         style.position = 'absolute';         style.visibility = 'hidden';         style.zIndex = 9999;       ...

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

210. laya.d3.core.RenderableSprite3D_API3.0 [ 53%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Rendera...

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