大约有 339 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/RevoluteJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConne...
来源: Laya3.0_api 发布时间: 20231115
...runtime脚本关联错了,应该挂载到场景上,不应该挂到子节点上 2020-11-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 159*****576 相关问题 真机环境找不到window---cant find variable: window stack Error: a...
来源: Laya_社区 发布时间: 20201110
... 微博 QZONE 微信 黄伟艺 赞同来自: 在unity导出的时候吗,节点设置勾选忽略未激活节点后,面数就正常了 2019-11-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 黄伟艺 相关问题 unity导出粒子...
来源: Laya_社区 发布时间: 20191121
...adio }) public radio: Laya.Radio; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.radio.stateNum = 3; //皮肤状态 this.radio.label = "确定"; //文本标签 this.radio....
来源: Laya3.0_文档 发布时间: 20251010
...不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 > 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节省了性能。 #####...
来源: Laya2.0_文档 发布时间: 20210715
.../Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。...
来源: Laya3.0_api 发布时间: 20231115
...oundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active acti...
来源: Laya3.0_api 发布时间: 20231115
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自动销毁(销毁节点...
来源: Laya2.0_api 发布时间: 20190513
...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 aniSpriteArray aniSpriteArray: any[] Defined in laya/map/GridS...
来源: Laya3.0_api 发布时间: 20231115
...ticBatchVolume Class StaticBatchVolume 类用来描述一个可合并渲染节点的体积 Hierarchy Volume StaticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMax boundsMin checkLOD customBatchRenders destroyed enableCust...
来源: Laya3.0_api 发布时间: 20231115