Hi,
I'm trying to place the 3d Portrait into a round border (square peg in round hole). Since I could not find any easy way to do this, I thought maybe I could change the z-axis, to zoom out, so that my PlayerModel isn't "cut off" into a square. So, I found all of these options for PlayerModel:
http://wowprogramming.com/docs/widgets/PlayerModel
Problem is, I can only get one of them to actually work. I can turn myself red, but nothing else:
Code:
self.Portrait = CreateFrame("PlayerModel", nil, self.Container)
self.Portrait:SetWidth(48)
self.Portrait:SetHeight(48)
self.Portrait:SetPoint("LEFT", self.Portraitborder, "LEFT", 14, 0)
--Working: Can turn myself red.
self.Portrait:SetLight(1, 0, 1, 1, 1, 1 , .8, .2, .2, 1, .8, .8, .64)
-- Not working: Everything else.
self.Portrait:SetModelScale(20)
self.Portrait:SetPosition(12, 12,-5.0)
Zoom and all other functions didn't work either.
Am I missing something obvious?
Thanks.