Files
o3de/Tools/maxscript/cryKey/showVertexAlpha.ms
T
2021-03-25 13:57:57 -07:00

22 lines
367 B
Plaintext

------Display Vertex Alpha------
for obj in selection do
(
if obj.showVertexColors == false then
(
obj.vertexColorType = #alpha
obj.showVertexColors = true
)
else
(
if obj.vertexColorType ==#color then
(
obj.vertexColorType = #alpha
obj.showVertexColors = false
obj.showVertexColors = true
)
else
(
obj.showVertexColors = false
)
)
)