gottu
(gottu)
May 30, 2023, 9:13am
1
お世話になります。
datasmith をブループリントでカスタムインポートしようと思い、
上図のようなノードを組んでみました(ほぼマニュアルと同じですが)。
が、変数"datasmiti scene"は~transient.datasmith.sceneelement_6’と何か入っているような感じですが、get all mesh actors の出力は"Current value ="と何も入っていないです。
やりたいことは、入っているマテリアルをもとにマテリアルを生成して、入っているメッシュに適用する、感じです。
メッシュの取得、マテリアルの取得はどうすればできるのでしょうか。
よろしくお願いします。
You need to move this step after the set datasmith scene
gottu
(gottu)
May 31, 2023, 5:46am
4
出来たのですが、get meshes - for loop - array elementで出力されるメッシュが使っているマテリアルを判断するにはどうしたらよろしいでしょうか。
ほかにこの辺が書いてあるドキュメント、サンプルなどあれば教えてください。
You can get the material name but not sure that is what you need?
gottu
(gottu)
May 31, 2023, 9:51am
6
ファイルに入っているメッシュ、マテリアル、テクスチャは取得できるのですが、メッシュに使われているマテリアル名を取得したいです。
gottu
(gottu)
May 31, 2023, 9:56am
7
追加です。
get all mesh actorsではなく、get meshes(多分アセットになる方)で取得したいです。
I found that, there should be a function to get the material slot count but it does not seem to be exposed.
system
(system)
Closed
July 1, 2023, 2:10am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.