DModelPanel How do I set models skin

Hey! I’m making a derma menu. I’m using DModePanel and I’m trying to set the models skin using the skin index. Here is my code how do I get this to work?
please and thankyou.



local icon = vgui.Create( "DModelPanel", Frame )
icon:SetPos( 0, 600 )
icon:SetSize( 1000, 500 )
icon:SetModel( "models/humans/modern/male_02_01.mdl" )
icon:SetCamPos( Vector( 50, 90, 50 ) )


Entity:SetSkin
[lua]icon.Entity:SetSkin(x)[/lua]

OMG im so stupid it took me like an hour then I post this and bam I figure it out xD