public static SetAllSegmentsTexture ( this info, CSL.NetworkExtensions.Framework.TexturesSet newTextures, CSL.NetworkExtensions.Framework.TexturesSet newLODTextures = null ) : NetInfo | ||
info | this | |
newTextures | CSL.NetworkExtensions.Framework.TexturesSet | |
newLODTextures | CSL.NetworkExtensions.Framework.TexturesSet | |
return | NetInfo |
public static NetInfo SetAllSegmentsTexture(this NetInfo info, TexturesSet newTextures, TexturesSet newLODTextures = null)
{
foreach (var segment in info.m_segments)
{
segment.SetTextures(newTextures, newLODTextures);
}
return info;
}