大约有 410 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...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
...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
...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
...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
...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
...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
...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake() { //得到3D对象 this.obj = this.owner; } onStart() { } /** * 覆写组件更新方法(相当于帧循环) */ onUpdate() { //所属脚本对象旋转更新 this.obj.transform.rotate(this.rotation, false, false) ...
来源: Laya_社区 发布时间: 20200611
...动画按钮左面那个红色按钮) 3.你的代码中PlayerCtr类的onAwake和onStart方法设置了两次allowRotation属性 2025-06-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 东林 相关问题 Dialog:屏蔽点击Dialo...
来源: Laya_社区 发布时间: 20250626
...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
...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