{"id":127,"date":"2025-11-18T19:10:32","date_gmt":"2025-11-18T11:10:32","guid":{"rendered":"https:\/\/blog.lihuilai.com\/index.php\/2025\/11\/18\/%e5%9c%a8cocos%e4%b8%ad%e5%bc%80%e5%9e%a6%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84minecraft\/"},"modified":"2025-11-18T19:10:32","modified_gmt":"2025-11-18T11:10:32","slug":"%e5%9c%a8cocos%e4%b8%ad%e5%bc%80%e5%9e%a6%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84minecraft","status":"publish","type":"post","link":"https:\/\/blog.lihuilai.com\/index.php\/2025\/11\/18\/%e5%9c%a8cocos%e4%b8%ad%e5%bc%80%e5%9e%a6%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84minecraft\/","title":{"rendered":"\u5728Cocos\u4e2d\u5f00\u57a6\u5c5e\u4e8e\u4f60\u7684\u201cMinecraft\u201d"},"content":{"rendered":"<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;font-style: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0em;text-indent: 0px;text-transform: none;white-space: normal;word-spacing: 0em;-webkit-text-stroke-width: 0px;text-decoration: none;margin: 0px;padding: 0px 10px;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;font-family: Optima, PingFangSC-light, serif;color: rgb(0, 0, 0);line-height: 1.5em;word-break: break-word;overflow-wrap: break-word;text-align: justify;\" data-pm-slice=\"0 0 []\" data-mpa-action-id=\"mgq8i8ix248n\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht17nb\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff0c\u6709\u4e2a\u5efa\u6a21\u5e08\u670b\u53cb\u8ddf\u6211\u804a\u5929\uff1a<\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8ht162a\"><span leaf=\"\">\u670b\u53cb\uff1a\u96d5\u5730\u5f62\u628a\u9888\u690e\u96d5\u574f\u4e86\uff0c\u80fd\u4e0d\u80fd\u5e2e\u6211\u5199\u4e00\u4e2a\u4ee3\u7801\u81ea\u52a8\u751f\u6210\u5730\u5f62\uff1f<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u6211\uff1a\u53ef\u4ee5\u2026<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1qcs\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4e8e\u662f\u6709\u4e86\u8fd9\u7bc7\u6587\u7ae0\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht15r1\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4eca\u5929\uff0c\u5c31\u5e26\u5927\u5bb6\u63ed\u79d8 \u201c\u65e0\u9650\u5730\u5f62\u751f\u6210\u201d \u7684\u5e95\u5c42\u6280\u672f\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1or4\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u9879\u6280\u672f\u4e0d\u4ec5\u662f\u300aMinecraft\u300b\u3001\u300aTerraria\u300b\u3001\u300aNo Man\u2019s Sky\u300b\u8fd9\u4e9b\u5927\u4f5c\u80cc\u540e\u7684\u6838\u5fc3\u6280\u672f\u4e4b\u4e00\uff01<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht20c0\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u66f4\u80fd\u8ba9\u4f60\u7528\u51e0\u884c\u4ee3\u7801\uff0c\u5728 Cocos \u4e2d\u4eb2\u624b\u5f00\u57a6\u51fa\u5c5e\u4e8e\u81ea\u5df1\u7684\u201c\u65e0\u9650\u5927\u9646\u201d\uff01<\/span><\/p>\n<section nodeleaf=\"\"><iframe class=\"video_iframe rich_pages\" data-src=\"https:\/\/mp.weixin.qq.com\/mp\/readtemplate?t=pages\/video_player_tmpl&amp;action=mpvideo&amp;auto=0&amp;vid=wxv_4206892226820882454\" data-mpvid=\"wxv_4206892226820882454\" data-vidtype=\"2\" data-cover=\"http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FYibUo5RLQh4Eaa9GUoic9McyrIpQmPz8BYLgJNOHkvZr5GA8IOTCZMakXo6rCMBgnB4JR9uV5v0mIYC9dfgklxwA%2F0%3Fwx_fmt%3Djpeg\" data-ratio=\"1.7795100222717148\" data-w=\"1598\"><\/iframe><\/section>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1r0d\"><span leaf=\"\">\u5173\u952e\u6280\u672f \u2014\u2014 \u566a\u58f0<\/span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8htyhx\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u8fd9\u91cc\u8bf4\u7684\u201c\u566a\u58f0\u201d\uff0c\u4e0d\u662f\u7535\u6d41\u91cc\u7684\u6742\u97f3\uff0c\u800c\u662f\u6307\u4e00\u79cd<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u8fde\u7eed\u7684\u4f2a\u968f\u673a\u51fd\u6570<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht15fs\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4ee5\u4e0b\u662f\u5e38\u89c1\u7684\u566a\u58f0\u751f\u6210\u51fd\u6570\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1w4y\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">Perlin Noise<\/span><\/strong><span leaf=\"\">\uff08\u67cf\u6797\u566a\u58f0\uff09\uff1a\u7ecf\u5178\uff0c\u5f88\u591a\u8001\u6e38\u620f\u7528\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht3ql\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">Simplex Noise<\/span><\/strong><span leaf=\"\">\uff1a\u6539\u8fdb\u7248\uff0c\u6027\u80fd\u66f4\u597d\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htbb2\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">OpenSimplex Noise<\/span><\/strong><span leaf=\"\">\uff1a\u793e\u533a\u7ef4\u62a4\u7684\u7248\u672c\uff0c\u4e13\u95e8\u89e3\u51b3\u4e13\u5229\u548c\u7ef4\u5ea6\u95ee\u9898\u3002<\/span><\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htitl\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5b83\u4eec\u7684\u7279\u70b9\u662f\uff1a<\/span><\/p>\n<ol style=\"list-style-type: decimal;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht5im\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u770b\u8d77\u6765\u50cf\u968f\u673a\uff0c\u4f46\u5176\u5b9e\u662f\u8fde\u7eed\u7684\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1cmh\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u76f8\u90bb\u7684\u8f93\u5165\u70b9\uff0c\u8f93\u51fa\u4e0d\u4f1a\u5dee\u592a\u591a\uff0c\u50cf\u81ea\u7136\u754c\u91cc\u7684\u5c71\u8109\u3001\u6cb3\u6d41\u4e00\u6837\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1gfe\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8f93\u5165\u5750\u6807\u53ef\u4ee5\u65e0\u9650\u6269\u5c55\uff0c\u6240\u4ee5\u7406\u8bba\u4e0a\u80fd\u751f\u6210\u65e0\u9650\u5730\u56fe\u3002<\/span><\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htrro\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4ee5\u4e0b\u662f\u4f7f\u7528\u67cf\u6797\u566a\u58f0\u548c\u767d\u566a\u58f0\uff08\u7eaf\u968f\u673a\uff09\u7684\u5bf9\u6bd4\u56fe\uff0c\u53ef\u4ee5\u770b\u5230\u67cf\u6797\u566a\u58f0\u751f\u6210\u7684\u6570\u503c\u662f\u8fde\u7eed\u7684\u3002<\/span><\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><span leaf=\"\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-b8a65ba7c164adea7dbadb1fa306ba5c.jpeg\"><\/span><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1vnj\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7531\u4e8e\u672c\u6587\u66f4\u5173\u6ce8\u4e8e\u566a\u58f0\u7684\u5e94\u7528\uff0c\u56e0\u6b64\u5173\u4e8e\u566a\u58f0\u7684\u539f\u7406\u5c31\u4e0d\u518d\u8d58\u8ff0\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c\u4e86\u89e3\u3002<\/span><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1glx\"><span leaf=\"\">\u6e38\u620f\u91cc\u600e\u4e48\u7528\uff1f<\/span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht82z\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5f88\u591a\u4f60\u8033\u719f\u80fd\u8be6\u7684\u6e38\u620f\uff0c\u90fd\u5728\u80cc\u540e\u9ed8\u9ed8\u7528\u7740\u8fd9\u9879\u6280\u672f\uff1a<\/span><\/p>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;\">\n<table style=\"display: table;min-width: 100px;\">\n<thead>\n<tr>\n<th style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.5em;letter-spacing: 0.04em;font-weight: bold;background: left top no-repeat rgb(219, 217, 216);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht8vy\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6e38\u620f\u540d\u79f0<\/span><\/section>\n<\/th>\n<th style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.5em;letter-spacing: 0.04em;font-weight: bold;background: left top no-repeat rgb(219, 217, 216);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htdwj\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7c7b\u578b<\/span><\/section>\n<\/th>\n<th style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.5em;letter-spacing: 0.04em;font-weight: bold;background: left top no-repeat rgb(219, 217, 216);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htl3n\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u566a\u58f0\u5e94\u7528\u573a\u666f<\/span><\/section>\n<\/th>\n<th style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.5em;letter-spacing: 0.04em;font-weight: bold;background: left top no-repeat rgb(219, 217, 216);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht23g7\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7279\u70b9\u4e0e\u6548\u679c<\/span><\/section>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"color: rgb(53, 53, 53);background: left top no-repeat rgb(255, 255, 255);width: auto;height: auto;\">\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8htaxa\"><span leaf=\"\">Minecraft<\/span><\/strong><\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htwii\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6c99\u76d2\u5efa\u9020<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hte9y\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5730\u5f62\uff08\u5e73\u539f\u3001\u5c71\u8109\u3001\u6d1e\u7a74\uff09\u3001\u77ff\u8109\u5206\u5e03<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htanm\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7ecf\u5178\u6848\u4f8b\uff0c\u65e0\u9650\u65b9\u5757\u4e16\u754c<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"color: rgb(53, 53, 53);background: left top no-repeat rgb(248, 248, 248);width: auto;height: auto;\">\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8htrvo\"><span leaf=\"\">Terraria<\/span><\/strong><\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htrnm\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>2D \u6c99\u76d2\u5192\u9669<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htkcb\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5730\u4e0b\u6d1e\u7a74\u7cfb\u7edf\u3001\u5730\u5f62\u8d77\u4f0f<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1zya\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6a2a\u7248\u968f\u673a\u5730\u56fe\uff0c\u6bcf\u5c40\u4e0d\u540c<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"color: rgb(53, 53, 53);background: left top no-repeat rgb(255, 255, 255);width: auto;height: auto;\">\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht7we\"><span leaf=\"\">No Man\u2019s Sky<\/span><\/strong><\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht9xi\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u592a\u7a7a\u63a2\u7d22<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htirb\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u661f\u7403\u5730\u8c8c\u3001\u52a8\u690d\u7269\u751f\u6001\u3001\u6c14\u5019<\/span><\/section>\n<\/td>\n<td style=\"padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;\">\n<section style=\"text-align: justify;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht16oo\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5206\u5f62+\u566a\u58f0\u751f\u6210\uff0c\u51e0\u4e4e\u65e0\u9650\u7684\u5b87\u5b99<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/section>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8j9b616r0\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-3f224731cf915fc35385980b9633f87b.jpeg\"><\/section>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht18ib\"><span leaf=\"\">\u5728 Cocos Creator \u91cc\u5b9e\u8df5\uff1a\u7528\u566a\u58f0\u751f\u6210\u5730\u5f62<\/span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht39j\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5149\u8bf4\u539f\u7406\u53ef\u80fd\u6709\u70b9\u62bd\u8c61\uff0c\u54b1\u4eec\u76f4\u63a5\u6765\u70b9\u5b9e\u6218\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1tim\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5728 Cocos Creator \u91cc\uff0c\u914d\u5408<\/span><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8htvid\"><span leaf=\"\">OpenSimplexNoise<\/span><\/strong><span leaf=\"\" mpa-font-style=\"mgq8i8ht1mwp\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u548c<\/span><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1tva\"><span leaf=\"\">Terrain<\/span><\/strong><span leaf=\"\" mpa-font-style=\"mgq8i8ht1hh4\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7ec4\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u5feb\u5c31\u641e\u51fa\u4e00\u4e2a\u201c\u65e0\u9650\u5730\u56fe\u7684\u96cf\u5f62\u201d\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8htkq5\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u6211\u4eec\u8fd9\u91cc\u5c06\u4f1a\u4f7f\u7528\u5f00\u6e90\u7684<\/span><code style=\"color: rgb(248, 57, 41);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;height: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">open-simplex-noise<\/span><\/code><span leaf=\"\">\u5e93\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<\/span><code style=\"color: rgb(248, 57, 41);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;height: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">npm<\/span><\/code><span leaf=\"\">\u5b89\u88c5\uff0c\u5e76\u5728 Cocos \u5de5\u7a0b\u4e2d\u4f7f\u7528\u3002<\/span><\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1wf7\"><span leaf=\"\">1. \u6700\u7b80\u5355\u7684\u566a\u58f0\u751f\u6210<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htsgn\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6211\u4eec\u5148\u5199\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u51fd\u6570\uff1a\u76f4\u63a5\u7528\u566a\u58f0\u751f\u6210\u9ad8\u5ea6\uff0c\u4e0d\u52a0\u4efb\u4f55\u82b1\u91cc\u80e1\u54e8\u7684\u53c2\u6570\u3002<\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8ht22xr\"><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">import<\/span><\/span><span leaf=\"\">\u00a0{ _decorator, Component, Terrain, CCInteger, HeightField }\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">from<\/span><\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'cc'<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">import<\/span><\/span><span leaf=\"\">\u00a0OpenSimplexNoise\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">from<\/span><\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">\"open-simplex-noise\"<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">import<\/span><\/span><span leaf=\"\">\u00a0{\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">type<\/span><\/span><span leaf=\"\">\u00a0Noise2D }\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">from<\/span><\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">\"open-simplex-noise\/lib\/2d\"<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0{ makeNoise2D } = OpenSimplexNoise;<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0{ ccclass, property, executeInEditMode } = _decorator;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@ccclass<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'TerrainDemo'<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@executeInEditMode<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">true<\/span><\/span><span leaf=\"\">)\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u5173\u952e\uff01\u8ba9\u811a\u672c\u5728\u7f16\u8f91\u5668\u6a21\u5f0f\u4e0b\u8fd0\u884c<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">export<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">class<\/span><\/span><span leaf=\"\">\u00a0TerrainDemo\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">extends<\/span><\/span><span leaf=\"\">\u00a0Component {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\">(Terrain)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0terrain: Terrain =\u00a0<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">null<\/span><\/span><span leaf=\"\">!;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\">({\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">type<\/span><\/span><span leaf=\"\">: CCInteger, range: [<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">,\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">999999<\/span><\/span><span leaf=\"\">,\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">] })<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0seed:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">12345<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u7f16\u8f91\u5668\u6309\u94ae\uff1a\u751f\u6210\u5730\u5f62<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\">({<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 displayName:\u00a0<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">\"\ud83c\udfb2 \u751f\u6210\u5730\u5f62\"<\/span><\/span><span leaf=\"\">,<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 tooltip:\u00a0<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">\"\u70b9\u51fb\u751f\u6210\u57fa\u7840\u566a\u58f0\u5730\u5f62\"<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 })<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">get<\/span><\/span><span leaf=\"\">\u00a0generateButton() {\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">false<\/span><\/span><span leaf=\"\">; }<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">set<\/span><\/span><span leaf=\"\">\u00a0generateButton(value:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">boolean<\/span><\/span><span leaf=\"\">) {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">if<\/span><\/span><span leaf=\"\">\u00a0(value)\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.generateTerrain();<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0noise2D: Noise2D;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 onLoad() {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D = makeNoise2D(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.seed);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u6700\u7b80\u5355\u7684\u566a\u58f0\u9ad8\u5ea6\u751f\u6210<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0generateHeight(x:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">, z:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">):\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0{<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u76f4\u63a5\u8fd4\u56de\u566a\u58f0\u503c\uff0c\u8303\u56f4 [-1, 1]<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D(x, z);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u751f\u6210\u5730\u5f62\u7684\u6838\u5fc3\u65b9\u6cd5<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0generateTerrain() {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">console<\/span><\/span><span leaf=\"\">.log(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'\u5f00\u59cb\u751f\u6210\u57fa\u7840\u566a\u58f0\u5730\u5f62...'<\/span><\/span><span leaf=\"\">);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0info =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.terrain.info;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0tileCount = info.tileCount;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0tileSize = info.tileSize;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u521b\u5efa\u9ad8\u5ea6\u573a<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0heightField =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">new<\/span><\/span><span leaf=\"\">\u00a0HeightField(tileCount[<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">], tileCount[<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">]);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u8ba1\u7b97\u5730\u5f62\u7684\u4e16\u754c\u5c3a\u5bf8<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0terrainWorldWidth = tileCount[<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">] * tileSize;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0terrainWorldHeight = tileCount[<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">] * tileSize;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0startWorldX = -terrainWorldWidth \/\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">2<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0startWorldZ = -terrainWorldHeight \/\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">2<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u4e3a\u6bcf\u4e2a\u74e6\u7247\u751f\u6210\u9ad8\u5ea6<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">for<\/span><\/span><span leaf=\"\">\u00a0(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0z =\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">; z <span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">]; z++) {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">for<\/span><\/span><span leaf=\"\">\u00a0(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0x =\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">; x <span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">]; x++) {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0worldX = startWorldX + x * tileSize;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0worldZ = startWorldZ + z * tileSize;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u4f7f\u7528\u6700\u7b80\u5355\u7684\u566a\u58f0\u751f\u6210<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0noiseValue =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.generateHeight(worldX, worldZ);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u8f6c\u6362\u4e3a Cocos Creator \u5730\u5f62\u9ad8\u5ea6\u683c\u5f0f<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0finalHeight =\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">32768<\/span><\/span><span leaf=\"\">\u00a0+ noiseValue *\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1000<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u7b80\u5355\u7f29\u653e<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 heightField.set(x, z, finalHeight);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u5e94\u7528\u5230\u5730\u5f62<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.terrain.importHeightField(heightField,\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.terrain.rebuild(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.terrain.info);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">console<\/span><\/span><span leaf=\"\">.log(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'\u57fa\u7840\u5730\u5f62\u751f\u6210\u5b8c\u6210\uff01'<\/span><\/span><span leaf=\"\">);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/span><\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htp86\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5728\u7f16\u8f91\u5668\u4e2d\u65b0\u5efa\u5730\u5f62\u8282\u70b9\u5e76\u7ed1\u5b9a\u597d\u811a\u672c\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht14tz\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u7136\u540e\u70b9\u51fb\u7f16\u8f91\u5668\u4e2d\u7684<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u751f\u6210\u5730\u5f62<\/span><\/strong><span leaf=\"\">\u540e\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u5728\u7f16\u8f91\u5668\u4e2d\u770b\u5230\u6548\u679c\u4e86\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htyu0\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u6837\u5f97\u5230\u7684\u5730\u5f62\u662f\u8fde\u7eed\u7684\uff0c\u800c\u975e\u8df3\u53d8\u7684\uff0c\u5c3d\u7ba1\u5df2\u7ecf\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff0c\u4f46\u6211\u4eec\u8fd8\u9700\u8981\u8fdb\u4e00\u6b65\u64cd\u4f5c\u4fee\u6539\u3002<\/span><\/p>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8jimj1mkb\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-966b004156d475c1f2711b032c416dd7.png\"><\/section>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1dux\"><span leaf=\"\">2. \u6dfb\u52a0\u9ad8\u5ea6\u7f29\u653e\u63a7\u5236<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1oiz\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u539f\u59cb\u566a\u58f0\u503c\u7684\u8303\u56f4\u901a\u5e38\u5728 [-1, 1] \u4e4b\u95f4\uff0c\u8fd9\u4e2a\u8303\u56f4\u5bf9\u4e8e\u5730\u5f62\u9ad8\u5ea6\u6765\u8bf4\u592a\u5c0f\u4e86\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8hta64\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u53c2\u6570<\/span><code style=\"color: rgb(248, 57, 41);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;height: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale<\/span><\/code><span leaf=\"\">\uff0c\u6765\u63a7\u5236\u5730\u5f62\u7684\u6574\u4f53\u9ad8\u5ea6\u8303\u56f4\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht5da\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5728\u7ec4\u4ef6\u4e2d\u6dfb\u52a0\u5c5e\u6027<\/span><\/strong><span leaf=\"\">\uff1a\u6539\u8fdb generateHeight \u65b9\u6cd5<\/span><\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8ht1nmv\"><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@ccclass<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'TerrainDemo'<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@executeInEditMode<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">true<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">export<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">class<\/span><\/span><span leaf=\"\">\u00a0TerrainDemo\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">extends<\/span><\/span><span leaf=\"\">\u00a0Component {<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0heightScale:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">20<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u9ad8\u5ea6\u7f29\u653e<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0generateHeight(x:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">, z:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">):\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0{<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0n =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D(x, z);\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u539f\u59cb\u566a\u58f0\u503c [-1,1]<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span leaf=\"\">\u00a0n *\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale; \u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u7f29\u653e\u5230\u7ed9\u5b9a\u7684\u9ad8\u5ea6\u8303\u56f4<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8jp4blgl\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-59ad24af09f15cb059c1e1778290d0dc.png\"><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><code style='color: rgb(248, 57, 41);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;height: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8htzrw\"><span leaf=\"\">heightScale<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8htt2p\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7684\u4f5c\u7528\u5f88\u76f4\u89c2\uff0c\u5c31\u662f\u5355\u7eaf\u7684\u653e\u5927\u539f\u59cb\u7684\u566a\u58f0\u503c\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8htpv2\"><span leaf=\"\">heightScale = 10<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht1sb1\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192 \u5730\u5f62\u9ad8\u5ea6\u8303\u56f4 [-10, 10]\uff0c\u6bd4\u8f83\u5e73\u7f13<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8ht1q6w\"><span leaf=\"\">heightScale = 50<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht888\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192 \u5730\u5f62\u9ad8\u5ea6\u8303\u56f4 [-50, 50]\uff0c\u8d77\u4f0f\u8f83\u5927<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8ht18sp\"><span leaf=\"\">heightScale = 100<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht1b6h\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192 \u5730\u5f62\u9ad8\u5ea6\u8303\u56f4 [-100, 100]\uff0c\u9ad8\u5c71\u6df1\u8c37<\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht1mbc\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u7ecf\u9a8c\u503c<\/span><\/strong><span leaf=\"\">\uff1a<\/span><\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htty3\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5e73\u539f\u5730\u5f62<\/span><\/strong><span leaf=\"\">\uff1a<\/span><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale = 5-15<\/span><\/code><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1m58\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u4e18\u9675\u5730\u5e26<\/span><\/strong><span leaf=\"\">\uff1a<\/span><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale = 20-40<\/span><\/code><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1xso\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5c71\u5730\u5730\u5f62<\/span><\/strong><span leaf=\"\">\uff1a<\/span><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale = 50-100<\/span><\/code><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htpgh\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u6781\u5730\u5730\u5f62<\/span><\/strong><span leaf=\"\">\uff1a<\/span><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale = 100+<\/span><\/code><\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hty5j\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u4e2a\u53c2\u6570\u662f\u6700\u5bb9\u6613\u7406\u89e3\u548c\u8c03\u8282\u7684\uff0c\u4e5f\u662f\u5728\u8c03\u8bd5\u5730\u5f62\u65f6\u9996\u5148\u8981\u786e\u5b9a\u7684\u3002<\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8htf14\"><span leaf=\"\">3. \u52a0\u5165 noiseScale \u2014\u2014 \u63a7\u5236\u91c7\u6837\u7c92\u5ea6<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht15ym\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6709\u65f6\u5019\u566a\u58f0\u201c\u8d77\u4f0f\u5f97\u592a\u5feb\u201d\uff0c\u5bfc\u81f4\u5730\u56fe\u50cf\u4e00\u5806\u6296\u52a8\u7684\u6c99\u5b50\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8htm5x\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u8bbe\u7f6e\u53c2\u6570<\/span><code style=\"color: rgb(248, 57, 41);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;height: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">noiseScale<\/span><\/code><span leaf=\"\">\uff0c\u5b83\u80fd\u62c9\u4f38\u566a\u58f0\u7684\u5750\u6807\u7a7a\u95f4\uff0c\u5728\u66f4\u5c0f\u5c3a\u5ea6\u7684\u7a7a\u95f4\u91cc\u91c7\u6837\uff0c\u8ba9\u5730\u5f62\u66f4\u5e73\u6ed1\u6216\u66f4\u7d27\u51d1\u3002<\/span><\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8ht19lv\"><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@ccclass<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'TerrainDemo'<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@executeInEditMode<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">true<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">export<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">class<\/span><\/span><span leaf=\"\">\u00a0TerrainDemo\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">extends<\/span><\/span><span leaf=\"\">\u00a0Component {<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0noiseScale:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0.05<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u566a\u58f0\u7f29\u653e<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0generateHeight(x:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">, z:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">):\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0{<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0n =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D(x *\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noiseScale, z *\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noiseScale);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span leaf=\"\">\u00a0n *\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1l50\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>noiseScale \u5c0f \u2192 \u6ce2\u52a8\u6162\uff0c\u9002\u5408\u5927\u7247\u5e73\u539f\/\u7f13\u5761\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1jtn\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>noiseScale \u5927 \u2192 \u6ce2\u52a8\u5feb\uff0c\u9002\u5408\u788e\u77f3\u6ee9\/\u9661\u5ced\u5c0f\u5c71\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1puo\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4e0b\u9762\u4e24\u5f20\u56fe\u4e2d\uff0c\u7b2c\u4e8c\u5f20\u662f0.1\u500d\u7684\u7f29\u653e\uff0c\u53ef\u4ee5\u770b\u5230\u7eff\u8272\u7684\u6846\u5c31\u662f\u7b2c\u4e00\u5f20\u56fe0.05\u500d\u7684\u7ed3\u6784\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hti4b\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u56e0\u4e3a\u566a\u58f0\u7684\u5c3a\u5ea6\u88ab\u653e\u5927\u4e86\u4e24\u500d\uff0c\u6240\u4ee5\u8fd91\/4\u4e2a\u533a\u57df\u91c7\u6837\u7684\u662f\u4e4b\u524d\u7684\u90a3\u90e8\u5206\u566a\u58f0\u3002<\/span><\/p>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8jvefc3n\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-1ceea6d39c2c63ee7b9a672eecf41944.jpeg\"><\/section>\n<section><span leaf=\"\"><br \/><\/span><\/section>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8k8nhnul\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-aaa6c0cadef319ba5600133a50407da3.jpeg\"><\/section>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht239p\"><span leaf=\"\">4. \u52a0\u5165 octaves\u3001persistence \u548c lacunarity \u589e\u52a0\u7ec6\u8282\u5c42\u6b21<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htgu8\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u81ea\u7136\u754c\u7684\u5730\u5f62\u5f80\u5f80\u4e0d\u662f\u5355\u4e00\u9891\u7387\u7684\uff0c\u800c\u662f\u5305\u542b\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1wje\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5927\u5c71\u7684\u8d77\u4f0f<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htjkv\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5c0f\u4e18\u9675\u7684\u7ec6\u8282<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1afi\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u77f3\u5757\u7684\u51f9\u51f8<\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht4ea\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u56e0\u6b64\uff0c\u6211\u4eec\u5e38\u7528<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5206\u5f62\u566a\u58f0<\/span><\/strong><span leaf=\"\">\uff08Fractal Noise\uff09\u7684\u65b9\u6cd5\u6765\u53e0\u52a0\u591a\u5c42\u566a\u58f0\u3002<\/span><\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8htiax\"><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@ccclass<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'TerrainDemo'<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@executeInEditMode<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">true<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">export<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">class<\/span><\/span><span leaf=\"\">\u00a0TerrainDemo\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">extends<\/span><\/span><span leaf=\"\">\u00a0Component {<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0octaves:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">4<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u566a\u58f0\u5c42\u6570<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0persistence:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0.5<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u6301\u7eed\u6027<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">public<\/span><\/span><span leaf=\"\">\u00a0lacunarity:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">2.0<\/span><\/span><span leaf=\"\">;\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u95f4\u9699\u5ea6<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u4f7f\u7528\u591a\u5c42\u566a\u58f0\u751f\u6210\u9ad8\u5ea6<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0generateHeight(x:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">, z:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">):\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0{<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0height =\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0amplitude =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale; \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u521d\u59cb\u5f3a\u5ea6<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0frequency =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noiseScale; \u00a0 \u00a0 \u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u521d\u59cb\u9891\u7387<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">for<\/span><\/span><span leaf=\"\">\u00a0(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">let<\/span><\/span><span leaf=\"\">\u00a0i =\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">; i <span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.octaves; i++) {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 height +=\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D(x * frequency, z * frequency) * amplitude;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 amplitude *=\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.persistence; \u00a0 \u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u6bcf\u5c42\u8870\u51cf<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 frequency *=\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.lacunarity; \u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u6bcf\u5c42\u9891\u7387\u589e\u52a0<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span leaf=\"\">\u00a0height;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1kwc\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u51e0\u4e2a\u53c2\u6570\u7684\u542b\u4e49\u5982\u4e0b\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1r9h\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">heightScale<\/span><\/code><span leaf=\"\">\uff1a\u5730\u5f62\u8d77\u4f0f\u7684\u6574\u4f53\u9ad8\u5ea6\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htzka\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">noiseScale<\/span><\/code><span leaf=\"\">\uff1a\u566a\u58f0\u7684\u91c7\u6837\u95f4\u8ddd\uff0c\u8d8a\u5c0f\u8d8a\u5e73\u6ed1\uff0c\u8d8a\u5927\u8d8a\u788e\u88c2\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htbp5\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">octaves<\/span><\/code><span leaf=\"\">\uff1a\u53e0\u52a0\u566a\u58f0\u5c42\u6570\uff0c\u8d8a\u591a\u8d8a\u7ec6\u8282\u4e30\u5bcc\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht429\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">persistence<\/span><\/code><span leaf=\"\">\uff1a\u6bcf\u5c42\u566a\u58f0\u7684\u5f3a\u5ea6\u8870\u51cf\uff0c\u8d8a\u5c0f\uff0c\u7ec6\u8282\u8d8a\u67d4\u548c\u3002<\/span><\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1bj\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><code style=\"background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;word-break: break-all;\"><span leaf=\"\">lacunarity<\/span><\/code><span leaf=\"\">\uff1a\u6bcf\u5c42\u566a\u58f0\u7684\u9891\u7387\u589e\u52a0\u500d\u6570\uff0c\u8d8a\u5927\uff0c\u7ec6\u8282\u8d8a\u5bc6\u96c6\u3002<\/span><\/span><\/section>\n<\/li>\n<\/ul>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8l3vk19df\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-6bdf13753611ede629f944baa3d90c81.jpeg\"><\/section>\n<section><span leaf=\"\"><br \/><\/span><\/section>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8l8y51ybb\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-aab837d1977a19a624107401858f900a.png\"><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htujo\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u53ef\u4ee5\u8fd9\u4e48\u7406\u89e3\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8htgar\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u60f3\u8981<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5927\u5e73\u539f<\/span><\/strong><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8ht16he\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192<\/span><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8ht23md\"><span leaf=\"\">noiseScale<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht1h0t\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5c0f\u4e00\u70b9\uff0coctaves \u5c11\u4e00\u70b9\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht8e\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u60f3\u8981<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u9ad8\u5c71\u5bc6\u5e03<\/span><\/strong><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8hthnu\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192<\/span><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8ht7s5\"><span leaf=\"\">heightScale<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht13sl\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u62c9\u5927\uff0coctaves \u589e\u52a0\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;font-weight: normal;\"><span mpa-font-style=\"mgq8i8ht1njc\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u60f3\u8981<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u788e\u77f3\u6ee9<\/span><\/strong><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8ht20tq\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u2192<\/span><code style='background: left top no-repeat rgba(27, 31, 35, 0.05);width: auto;margin: 0px 2px;padding: 2px 4px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 4px;overflow-wrap: break-word;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;word-break: break-all;' mpa-font-style=\"mgq8i8ht18k\"><span leaf=\"\">noiseScale<\/span><\/code><span leaf=\"\" mpa-font-style=\"mgq8i8ht1fd\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5927\u4e00\u70b9\uff0c\u5730\u5f62\u5c31\u4f1a\u66f4\u7834\u788e\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htqkh\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u5c31\u662f\u566a\u58f0\u7684\u9b45\u529b\uff0c\u4e00\u5207\u5c3d\u5728\u53c2\u6570\u638c\u63a7\u4e4b\u4e2d\u3002<\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1tm4\"><span leaf=\"\">5. \u5229\u7528\u66f2\u7ebf\u8c03\u63a7\u5730\u5f62<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htqti\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5149\u9760\u566a\u58f0\u51fd\u6570\u7b97\u51fa\u6765\u7684\u9ad8\u5ea6\uff0c\u867d\u7136\u5df2\u7ecf\u6bd4\u7eaf\u968f\u673a\u597d\u770b\u5f88\u591a\uff0c\u4f46\u6709\u65f6\u5019\u5730\u5f62\u8fd8\u662f\u201c\u592a\u6570\u5b66\u201d\uff0c\u4e0d\u591f\u81ea\u7136\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht7rg\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6bd4\u5982\u53ef\u80fd\u4f1a\u51fa\u73b0\u9ad8\u539f\u8fc7\u4e8e\u7a00\u5c11\u3001\u5c71\u5cf0\u592a\u5c16\u9510\u3001\u6216\u8005\u5e73\u539f\u9762\u79ef\u4e0d\u591f\u5927\u7684\u60c5\u51b5\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht20bm\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u8fd9\u65f6\u5019\u5c31\u53ef\u4ee5\u7528<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u66f2\u7ebf<\/span><\/strong><span leaf=\"\">\u6765\u8c03\u8282\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1i7z\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5229\u7528\u66f2\u7ebf\uff0c\u53ef\u4ee5\u628a\u201c\u539f\u59cb\u566a\u58f0\u503c\u201d\u6620\u5c04\u6210\u201c\u66f4\u7b26\u5408\u9700\u6c42\u7684\u9ad8\u5ea6\u503c\u201d\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht18d2\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u4e3a\u4e86\u65b9\u4fbf\u8c03\u8bd5\uff0c\u6211\u4eec\u8fd9\u91cc\u5c06\u968f\u673a\u79cd\u5b50\u4e5f\u653e\u5230\u53c2\u6570\u4e2d\uff1a<\/span><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/1LlgQzJVOyDY3iawQoV9srxNiaIL3mMia68u5ibl1OzibqAvHX8oJhkLQJCNyoyhZH64lVJoqj6ic49RpfkLRojJiceZKEngCapx8I1\/640?wx_fmt=svg&amp;from=appmsg\") 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 764px;margin-bottom: -7px;border-radius: 5px;'><\/span><code style='overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 12px;' mpa-font-style=\"mgq8i8htc5t\"><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">import<\/span><\/span><span leaf=\"\">\u00a0{ RealCurve }\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">from<\/span><\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'cc'<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@ccclass<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(152, 195, 121);line-height: 26px;\"><span leaf=\"\">'TerrainDemo'<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@executeInEditMode<\/span><\/span><span leaf=\"\">(<\/span><span style=\"color: rgb(86, 182, 194);line-height: 26px;\"><span leaf=\"\">true<\/span><\/span><span leaf=\"\">)<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">export<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">class<\/span><\/span><span leaf=\"\">\u00a0TerrainDemo\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">extends<\/span><\/span><span leaf=\"\">\u00a0Component {<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\">(RealCurve)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 curve: RealCurve =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">new<\/span><\/span><span leaf=\"\">\u00a0RealCurve();<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0_seed:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0=\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">0<\/span><\/span><span leaf=\"\">;<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(97, 174, 238);line-height: 26px;\"><span leaf=\"\">@property<\/span><\/span><span leaf=\"\">({\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">type<\/span><\/span><span leaf=\"\">: CCInteger, range: [<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">-999999<\/span><\/span><span leaf=\"\">,\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">999999<\/span><\/span><span leaf=\"\">,\u00a0<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">1<\/span><\/span><span leaf=\"\">] })<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">get<\/span><\/span><span leaf=\"\">\u00a0seed() {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">._seed;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 };<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">set<\/span><\/span><span leaf=\"\">\u00a0seed(seed:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">) {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">._seed = seed;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u4fee\u6539\u79cd\u5b50\u540e\u91cd\u65b0\u521b\u5efa\u566a\u58f0\u751f\u6210\u5668<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.noise2D = makeNoise2D(<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.seed);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u5728\u5730\u5f62\u751f\u6210\u4e2d\u4f7f\u7528\u66f2\u7ebf\u8c03\u6574<\/span><\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">private<\/span><\/span><span leaf=\"\">\u00a0applyHeightCurve(noiseHeight:\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">):\u00a0<\/span><span style=\"color: rgb(230, 192, 123);line-height: 26px;\"><span leaf=\"\">number<\/span><\/span><span leaf=\"\">\u00a0{<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u5c06\u566a\u58f0\u503c\u6807\u51c6\u5316\u5230 [0, 1] \u8303\u56f4<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0normalizedNoise = (noiseHeight +\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale) \/ (<\/span><span style=\"color: rgb(209, 154, 102);line-height: 26px;\"><span leaf=\"\">2<\/span><\/span><span leaf=\"\">\u00a0*\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u5e94\u7528\u66f2\u7ebf\u6765\u8c03\u6574\u9ad8\u5ea6\u5206\u5e03<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">const<\/span><\/span><span leaf=\"\">\u00a0curveValue =\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.curve.evaluate(normalizedNoise);<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/\/ \u8f6c\u6362\u4e3a\u6700\u7ec8\u9ad8\u5ea6<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">return<\/span><\/span><span leaf=\"\">\u00a0curveValue *\u00a0<\/span><span style=\"color: rgb(198, 120, 221);line-height: 26px;\"><span leaf=\"\">this<\/span><\/span><span leaf=\"\">.heightScale;<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 }<\/span><span leaf=\"\"><br><\/span><span style=\"color: rgb(92, 99, 112);font-style: italic;line-height: 26px;\"><span leaf=\"\">\/** ... *\/<\/span><\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htqh7\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u8fd9\u6837\u6211\u4eec\u5c31\u80fd\u901a\u8fc7\u62d6\u52a8\u66f2\u7ebf\u70b9\uff0c\u76f4\u89c2\u5730\u63a7\u5236\u5730\u5f62\u6bd4\u4f8b\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htn23\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5e73\u539f\u60f3\u5927\u4e00\u70b9\uff1f\u5c31\u5728\u66f2\u7ebf\u524d\u6bb5\u62c9\u5e73\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1we5\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5c71\u8109\u60f3\u66f4\u9661\u5ced\uff1f\u5c31\u5728\u540e\u6bb5\u52a0\u9661\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht19n0\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u60f3\u8981\u5927\u9762\u79ef\u6d77\u6d0b\uff1f\u628a 0 \u9644\u8fd1\u538b\u4f4e\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht62b\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7531\u4e8e\u5c0f\u5c3a\u5ea6\u7684\u5730\u5f62\u5f88\u96be\u770b\u51fa\u6548\u679c\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u5c06\u5730\u5f62\u74e6\u7247\u8c03\u6574\u5230\u4e865*5\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htxvf\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7136\u540e\u6211\u8c03\u4e86\u4e00\u4e2a\u66f2\u7ebf\uff0c\u53ef\u4ee5\u751f\u6210\u5f88\u597d\u770b\u7684\u5c71\u5730\u548c\u5e73\u539f\u5730\u5f62\u3002<\/span><\/p>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8lpl6244p\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-16fa9d000eec97e9c9f1c742a051e67b.png\"><\/section>\n<section><span leaf=\"\"><br \/><\/span><\/section>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8luowm6m\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-75632fac6e6778a1815fbbe7d704efe4.jpeg\"><\/section>\n<section><span leaf=\"\"><br \/><\/span><\/section>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8m1921c0b\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-33b84f11f200c9ea262798762f908aa9.jpeg\"><\/section>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht21m6\"><span leaf=\"\">\u65e0\u9650\u5730\u56fe\u662f\u600e\u4e48\u505a\u5230\u7684\uff1f<\/span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htzhe\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u539f\u7406\u5176\u5b9e\u975e\u5e38\u7b80\u5355\uff1a<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1rhk\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u566a\u58f0\u51fd\u6570\u7684\u8f93\u5165\u662f<\/span><span leaf=\"\" mpa-font-style=\"mgq8i8ht1rhk\" style='font-style: normal;font-variant-caps: normal;text-transform: none;word-spacing: 0em;-webkit-text-stroke-width: 0px;text-decoration: none;word-break: break-word;overflow-wrap: break-word;font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;'>\u5750\u6807 (x, z<\/span><span leaf=\"\" mpa-font-style=\"mgq8i8ht1rhk\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>)\uff0c\u8f93\u51fa\u662f\u4e00\u4e2a\u786e\u5b9a\u7684\u503c\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hto76\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6240\u4ee5\u5f53\u73a9\u5bb6\u8d70\u5230\u5730\u56fe\u8fb9\u754c\u65f6\uff0c\u53ea\u8981\u7ee7\u7eed\u5f80\u5916\u7b97\u65b0\u7684\u5750\u6807\u70b9\uff0c\u5730\u5f62\u5c31\u4f1a\u81ea\u7136\u5ef6\u5c55\uff0c\u7406\u8bba\u4e0a\u662f\u65e0\u9650\u7684\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht1zlt\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u914d\u5408<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u5206\u5757\u52a0\u8f7d<\/span><\/strong><span leaf=\"\">\u6280\u672f\uff0c\u73a9\u5bb6\u5468\u56f4\u53ef\u4ee5\u751f\u6210\u82e5\u5e72\u5757\u5730\u5f62\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8htxmq\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u73a9\u5bb6\u79fb\u52a8\u65f6\uff0c\u5378\u8f7d\u8fdc\u5904\u7684\u5757\uff0c\u52a0\u8f7d\u65b0\u7684\u5757\uff0c\u8fd9\u6837\u5c31\u80fd\u6a21\u62df\u51fa<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u65e0\u9650\u4e16\u754c<\/span><\/strong><span leaf=\"\">\uff0c\u662f\u4e0d\u662f\u5f88\u9177\uff01<\/span><\/span><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1hx6\"><span leaf=\"\">\u603b\u7ed3\u4e0e\u8fdb\u9636<\/span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htpwk\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u566a\u58f0\u51fd\u6570\u662f\u4e00\u4e2a\u770b\u4f3c\u7b80\u5355\u5374\u5a01\u529b\u5de8\u5927\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u751f\u6210\u81ea\u7136\u3001\u8fde\u7eed\u3001\u53ef\u63a7\u7684\u6570\u636e\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hte7a\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u914d\u5408\u53c2\u6570\u548c\u66f2\u7ebf\uff0c\u5c31\u80fd\u7075\u6d3b\u5b9a\u5236\u51fa\u7b26\u5408\u6e38\u620f\u8bbe\u8ba1\u9700\u6c42\u7684\u5730\u5f62\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hth7h\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u518d\u52a0\u4e0a\u5206\u5757\u52a0\u8f7d\uff0c\u5c31\u80fd\u5b9e\u73b0\u65e0\u9650\u53ef\u73a9\u7684\u5730\u56fe\u3002<\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-9251ebe87cb3930233190e6895d9b788.png\"><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht29l\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6240\u4ee5\uff0c\u4e0b\u6b21\u4f60\u5728 Minecraft \u91cc\u6316\u77ff\u65f6\uff0c\u522b\u5fd8\u4e86\u80cc\u540e\u652f\u6491\u8fd9\u4e00\u5207\u7684\uff0c\u53ef\u80fd\u5c31\u662f\u51e0\u884c\u566a\u58f0\u51fd\u6570\u7684\u4ee3\u7801\u3002<\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;padding: 0px;display: flex;text-align: justify;\"><span style='font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht230d\"><span leaf=\"\">\u4ece\u5730\u5f62\u5230\u751f\u6001<\/span><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8httj1\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u5230\u8fd9\u91cc\u6211\u4eec\u53ea\u662f\u751f\u6210\u4e86<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u9ad8\u5ea6\u5730\u56fe<\/span><\/strong><span leaf=\"\">\uff0c\u4f46\u6e38\u620f\u4e16\u754c\u8fdc\u4e0d\u6b62\u201c\u51f9\u51f8\u7684\u5730\u9762\u201d\u3002<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1g6j\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u566a\u58f0\u7684\u5999\u7528\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u88ab\u91cd\u590d\u5229\u7528\uff0c\u751f\u6210\u66f4\u591a\u201c\u6709\u673a\u201d\u7684\u5185\u5bb9\uff1a<\/span><\/p>\n<ul style=\"list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1co2\"><span leaf=\"\">\u73af\u5883\u5212\u5206<\/span><\/strong><span leaf=\"\"><br \/><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8htgkn\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7528\u4e00\u7ec4\u566a\u58f0\u6765\u51b3\u5b9a\u6c14\u5019\u533a\uff0c\u6bd4\u5982\u9ad8\u7eac\u5ea6\u662f\u96ea\u539f\uff0c\u4f4e\u7eac\u5ea6\u662f\u6c99\u6f20\uff0c\u4e2d\u95f4\u662f\u68ee\u6797\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht179g\"><span leaf=\"\">\u751f\u7269\u7fa4\u843d<\/span><\/strong><span leaf=\"\"><br \/><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8htp6e\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u53ef\u4ee5\u7528\u566a\u58f0\u6765\u5206\u5e03\u602a\u7269\u6216\u52a8\u7269\uff0c\u4f8b\u5982\uff1a\u67d0\u4e9b\u533a\u57df\u72fc\u7fa4\u5bc6\u96c6\uff0c\u67d0\u4e9b\u5730\u65b9\u53ea\u6709\u7f8a\u9a7c\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1h53\"><span leaf=\"\">\u690d\u88ab\u5206\u5e03<\/span><\/strong><span leaf=\"\"><br \/><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8ht138r\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u518d\u52a0\u4e00\u5c42\u566a\u58f0\uff0c\u5c31\u80fd\u63a7\u5236\u68ee\u6797\u7684\u6d53\u5bc6\u5ea6\uff1a\u67d0\u4e9b\u5757\u957f\u6ee1\u6811\uff0c\u67d0\u4e9b\u5757\u53ea\u6709\u96f6\u661f\u51e0\u68f5\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;font-weight: normal;\">\n<p style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><strong style='color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8htibw\"><span leaf=\"\">\u77ff\u7269\/\u8d44\u6e90<\/span><\/strong><span leaf=\"\"><br \/><\/span><span leaf=\"\" mpa-font-style=\"mgq8i8htpsb\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u7c7b\u4f3c\u7684\u601d\u8def\u8fd8\u80fd\u7528\u6765\u751f\u6210\u5730\u4e0b\u77ff\u8109\u5206\u5e03\uff0c\u50cf\u300aMinecraft\u300b\u5c31\u662f\u8fd9\u4e48\u5e72\u7684\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1ii9\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6362\u53e5\u8bdd\u8bf4\uff1a<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8htxyo\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u5730\u5f62\u566a\u58f0\u53ea\u662f\u201c\u57fa\u5e95\u201d\uff0c\u4f60\u53ef\u4ee5\u7ee7\u7eed\u5728\u5b83\u4e0a\u9762\u53e0\u52a0<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u751f\u6001\u566a\u58f0<\/span><\/strong><span leaf=\"\">\u3001<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u8d44\u6e90\u566a\u58f0<\/span><\/strong><span leaf=\"\">\u3001<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u6c14\u5019\u566a\u58f0<\/span><\/strong><span leaf=\"\">\u2026\u2026<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span mpa-font-style=\"mgq8i8ht9z3\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span leaf=\"\">\u8fd9\u6837\u4e00\u6b65\u6b65\uff0c\u5c31\u80fd\u62fc\u51fa\u4e00\u4e2a\u771f\u6b63<\/span><strong style=\"color: rgb(248, 57, 41);font-weight: bold;background: left top no-repeat rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;\"><span leaf=\"\">\u65e0\u9650\u800c\u4e14\u751f\u673a\u52c3\u52c3\u7684\u4e16\u754c<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/span><\/p>\n<section nodeleaf=\"\" data-mpa-action-id=\"mgq8o5ivybd\" data-pm-slice=\"0 0 []\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-56a1e61205f539dcac9acca876aced56.png\"><\/section>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 30px 0px 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: block;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset;padding: 0px;text-align: justify;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;\"><span style='font-size: 18px;color: rgb(34, 34, 34);line-height: 1.8em;letter-spacing: 0em;padding: 0px 0px 0px 10px;border-style: none none none solid;border-width: 1px 1px 1px 5px;border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41);border-radius: 0px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-color: unset;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;box-shadow: none;display: block;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin: 0px;overflow: unset;text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht16cr\"><span leaf=\"\">\u4f5c\u8005\u4ecb\u7ecd\uff1a<\/span><\/span><\/h2>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><span leaf=\"\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-d71f989b9034785c7207f319b6a56e67.jpeg\"><\/span><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1p6y\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u611f\u8c22\u8fd8\u6709\u918bv\u7684\u6295\u7a3f\uff0c\u66f4\u591a\u5e72\u8d27\u5185\u5bb9\uff0c\u53ef\u4ee5\u5173\u6ce8\u4ed6\u7684\u516c\u4f17\u53f7\u3002<\/span><\/p>\n<section class=\"mp_profile_iframe_wrp\" nodeleaf=\"\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-nickname=\"\u7801\u4e0d\u4e86\u4e00\u70b9\" data-alias=\"haiyoucuv\" data-from=\"0\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/YibUo5RLQh4HibUFx4CiaoNdbDnzM26M2r0gVzO9BcxM95RqPACTJhMY3PlYnRfJEtKZxVHnLEkDjy9wL8MPnQ90g\/0?wx_fmt=png\" data-signature=\"99\u5e74\u7801\u519c\uff0c\u6ca1\u4e8b\u7801\u70b9\u6e38\u620f\uff0c\u4f46\u662f\u7801\u4e0d\u4e86\u4e00\u70b9\u3002\u6709\u95ee\u9898\u8bf7\u7559\u4e0b\u8054\u7cfb\u65b9\u5f0f\uff0c\u56e0\u4e3a\u4e0d\u7ecf\u5e38\u770b\u540e\u53f0\uff0c\u8d85\u8fc7\u65f6\u95f4\u6ca1\u6cd5\u56de\u590d\u6d88\u606f\u7684\" data-id=\"MzU2NDcwOTkzMQ==\" data-is_biz_ban=\"0\" data-service_type=\"1\" data-verify_status=\"0\"><\/mp-common-profile><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1ba6\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6709\u9700\u8981 demo \u7684\u670b\u53cb\u53ef\u4ee5\u5728\u4ee5\u4e0b\u94fe\u63a5\u83b7\u53d6\uff1a<\/span><\/p>\n<blockquote style=\"margin: 20px 0px;padding: 10px 10px 10px 20px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;background: left top no-repeat rgba(0, 0, 0, 0.05);width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow: auto;\"><p>\n<span style='display: block;color: rgb(248, 57, 41);font-size: 28px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;' mpa-font-style=\"mgq8i8ht1nl\"><span leaf=\"\">\u201c<\/span><\/span><\/p>\n<p style=\"text-indent: 0em;padding: 8px 0px;color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: left;font-weight: normal;margin: 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1lnc\" style='font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>demo \u5730\u5740\uff1ahttps:\/\/store.cocos.com\/app\/detail\/8191<\/span><\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht1gc2\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u611f\u8c22\u9605\u8bfb\uff0c\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8hthkj\" style='font-family: \"mp-quote\", -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'>\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u4ea4\u6d41\u5fc3\u5f97\uff0c\u4e00\u8d77\u8fdb\u6b65\uff01<\/span><\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><span leaf=\"\"><img decoding=\"async\" src=\"https:\/\/blog.lihuilai.com\/wp-content\/uploads\/2025\/11\/frc-5f40e0b3165ef1a23abc0aba5a526c0f.png\"><\/span><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: center;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8ht22ee\" style='font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span textstyle=\"\" style=\"color: rgb(0, 122, 170);font-weight: bold;\">\u5173\u6ce8 Cocos \u5b98\u65b9\u516c\u4f17\u53f7<\/span><\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(53, 53, 53);font-size: 16px;line-height: 1.8em;letter-spacing: 0.04em;text-align: center;text-indent: 0em;margin: 0px;padding: 8px 0px;\"><span leaf=\"\" mpa-font-style=\"mgq8i8htf99\" style='font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, \"Helvetica Neue\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;'><span textstyle=\"\" style=\"color: rgb(0, 122, 170);font-weight: bold;\">\u83b7\u53d6\u66f4\u591a\u5e72\u8d27\u5185\u5bb9<\/span><\/span><\/p>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff0c\u6709\u4e2a\u5efa\u6a21\u5e08\u670b\u53cb\u8ddf\u6211\u804a\u5929\uff1a \u670b\u53cb\uff1a\u96d5\u5730\u5f62\u628a\u9888\u690e\u96d5\u574f\u4e86\uff0c\u80fd\u4e0d\u80fd\u5e2e\u6211\u5199\u4e00\u4e2a\u4ee3\u7801\u81ea\u52a8\u751f\u6210\u5730\u5f62\uff1f\u6211\uff1a\u53ef\u4ee5\u2026 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":0,"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lihuilai.com\/index.php\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}