2020-07-16 12:26 PM - last edited on 2021-09-15 11:57 AM by Noemi Balogh
Solved! Go to Solution.
2020-07-17 12:20 PM
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
2020-07-17 12:20 PM
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
2020-07-17 04:23 PM
Ralph wrote:I see. Thank you!
scandi wrote:A body texture image is best accessed through a body material using
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?ModelerAPI::MeshBody::GetMaterial
You can get the texture for the material usingModelerAPI::Material::GetTexture
The texture bitmap (if it has one) can be accessed from the texture usingModelerAPI::Texture::GetPixelMap