{"id":1934,"date":"2021-08-22T09:01:12","date_gmt":"2021-08-22T00:01:12","guid":{"rendered":"https:\/\/stacstar.jp\/blog\/?p=1934"},"modified":"2021-10-17T18:46:14","modified_gmt":"2021-10-17T09:46:14","slug":"textmesh-pro-%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3","status":"publish","type":"post","link":"https:\/\/stacstar.jp\/blog\/?p=1934","title":{"rendered":"TextMesh Pro \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/tmp.gif\" alt=\"\" width=\"447\" height=\"218\" class=\"aligncenter size-full wp-image-1935\" \/><\/p>\n<p>TextMesh Pro \u306e\u6587\u5b57\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u3002<br \/>\n1\u6587\u5b57\u3065\u3064\u304c4\u9802\u70b9\u3042\u308b\u306e\u3067\u305d\u308c\u3092\u52d5\u304b\u3059\u3068\u52d5\u304f\u3002\u65b0\u305f\u306b\u6587\u5b57\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3059\u3079\u3066\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u308b\u3002<br \/>\nCPU \u3067\u52d5\u304f\u306e\u3067\u672c\u5f53\u306f Shader \u3067\u3084\u308b\u3068\u3088\u3055\u305d\u3046\u3002<\/p>\n<pre class=\"brush: unitycsharp; title: ; notranslate\" title=\"\">\r\nTMP_CharacterInfo characterInfo = this.tmpText.textInfo.characterInfo&#x5B;charIndex];\r\nint vertexIndex = characterInfo.vertexIndex;\r\nVector3&#x5B;] vertices = this.tmpText.textInfo.meshInfo&#x5B;characterInfo.materialReferenceIndex].vertices;\r\n\r\nfor (int j = 0; j &lt; 4; ++j)\r\n{\r\n    int index = vertex_index + j;\r\n\tvertices&#x5B;index] = \/\/ \u5ea7\u6a19\u3092\u5165\u308c\u308b\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>TextMesh Pro \u306e\u6587\u5b57\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u3002 1\u6587\u5b57\u3065\u3064\u304c4\u9802\u70b9\u3042\u308b\u306e\u3067\u305d\u308c\u3092\u52d5\u304b\u3059\u3068\u52d5\u304f\u3002\u65b0\u305f\u306b\u6587\u5b57\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3059\u3079\u3066\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u308b\u3002 CPU \u3067\u52d5\u304f\u306e\u3067\u672c\u5f53\u306f Shader \u3067\u3084\u308b\u3068\u3088\u3055\u305d\u3046\u3002 TMP_Chara [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1934","post","type-post","status-publish","format-standard","hentry","category-unity"],"_links":{"self":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1934"}],"version-history":[{"count":2,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions"}],"predecessor-version":[{"id":1958,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions\/1958"}],"wp:attachment":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}