Hi all
I have a material with a Compound node nested on it.
Anyone know if there is a way to retrieve the material name from the Compound's PPGLogic?
Thanks,
Loki
get material name from Compound's PPG
-
Loki
- Posts: 12
- Joined: 19 Jun 2009, 15:07
get material name from Compound's PPG
(sorry for my english)
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: get material name from Compound's PPG
Go through PPG.Inspected
-
Loki
- Posts: 12
- Joined: 19 Jun 2009, 15:07
Re: get material name from Compound's PPG
Thanks a lot, it works now!
I found also another way using: PPG.name_of_inner_node.Parent
It return the exact position of the Compound on the shader.
I found also another way using: PPG.name_of_inner_node.Parent
It return the exact position of the Compound on the shader.
(sorry for my english)